This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: dlopen


Jorrit Tyberghein wrote:
> 
> How can I use dlopen/dlsym/dlcose from CygWinB19 with EGCS 1.1?
> I can't find a reference to dlopen in any of the include files 
> although it seems to be in some of the executables/libraries?

The dlfcn.h file from the source distribution never made it into
the cdk.exe.  You need to get the cygwin32 sources from the same
place as you got the cdk and copy the dlfcn.h file into
$CYGWIN_ROOT/H-i386-cygwin32/i386-cygwin32/include.  Then dlopen
and friend will (mostly) work as usual.

Geoffrey, I notice that the dlopen emulation doesn't handle a NULL
argument as per the POSIX spec (i.e. return an introspective handle
to the current process), yet the win32 GetModuleHandle does... will this
be fixed for b20?  Too late for a patch?

Cheers,
	Gary V. Vaughan
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]