From: garbanzo AT hooked DOT net (Alex) Subject: Re: How to export DLL functions for Windows apps 7 Nov 1997 01:15:38 -0800 Message-ID: References: <199711062145 DOT WAA13471 AT bouleau DOT wanadoo DOT fr> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII To: Gilles Depeyrot Cc: gnu-win32 AT cygnus DOT com On Thu, 6 Nov 1997, Gilles Depeyrot wrote: > Is it possible to export DLL functions and call them from Windows > applications ? > > If so, how to you go about doing this ? > > I tried but the LoadLibrary functions returns a NULL handle and > GetLastError returns 0 which doesn't help me find what's wrong. As per Microsoft's web site, an error value of zero specifies that the system was out of memory, the file was corrupt, or the relocation data was invalid. Further digging through the web site lead me to believe that one could emulate dlopen,sym,and close with loadlibrary, getprocaddress, and freelibrary. - alex - 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".