From: ismaelj AT hotmail DOT com (" Ismael Jurado") Subject: Re: Another problem with DLL's 21 Mar 1997 19:42:47 -0800 Sender: daemon AT cygnus DOT com Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <199703211942.LAA05206.cygnus.gnu-win32@f23.hotmail.com> X-Originating-IP: [194.179.125.199] Original-To: j-cerney1 AT ti DOT com Original-Cc: gnu-win32 AT cygnus DOT com Content-Type: text/plain Original-Sender: owner-gnu-win32 AT cygnus DOT com >>I've got a problem with DLL's... >> >>Folowing the instruccions of the home page of Cygnus, everything works >>OK when I link the DLL with my executable but... if you try to load the >>library indirectly via LoadLibrary(), it returns an HRESULT of 0 >> >>Someone knows how to solve this or is just a bug? > >I'm not sure what is wrong with your code, but I know this does work. Here is a >simple example of loading a DLL at runtime using LoadLibraryEx calls. This >compiles and links fine on both win95 and winNT. Thanks for your code but... It still donīt works. I've copied your code and folowed all the compilations steps and is always the same history: when linked with the program the DLL works, but from the outside, it can't be load. If it works in your system, I can't understand why don't works in mine. Thanks anyway. Ismael Jurado --------------------------------------------------------- Get Your *Web-Based* Free Email at http://www.hotmail.com --------------------------------------------------------- - For help on using this list, send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".