From: gvaughan AT oranda DOT demon DOT co DOT uk (Gary V. Vaughan) Subject: Re: dlopen 31 Oct 1998 00:34:02 -0800 Message-ID: <3639AEEB.855AC45C.cygnus.gnu-win32@oranda.demon.co.uk> References: <36386742 DOT E14F6F22 AT uz DOT kuleuven DOT ac DOT be> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Jorrit Tyberghein Cc: gnu-win32 AT cygnus DOT com, Geoffrey Noer 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 AT cygnus DOT com" with one line of text: "help".