From mboxrd@z Thu Jan 1 00:00:00 1970 From: " Ismael Jurado" To: j-cerney1@ti.com Cc: gnu-win32@cygnus.com Subject: Re: Another problem with DLL's Date: Fri, 21 Mar 1997 11:43:00 -0000 Message-id: <199703211942.LAA05206@f23.hotmail.com> X-SW-Source: 1997-03/msg00354.html >>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@cygnus.com" with one line of text: "help".