Mail Archives: cygwin/1997/03/21/14:09:45
On 20 Mar 97 at 13:17, John Cerney wrote:
>
> >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.
Hello John!
Just one question. Did you try to compile your MAIN with VC++ but
DLL with gnu-win32 ? Does it work ?
=================================================================
Dr. Valery Fine Telex : 911621 dubna su
-----------
LCTA/Joint Inst.for NuclearRes Phone : +7 09621 6 40 80
141980 Dubna, Moscow region Fax : +7 09621 6 51 45
Russia mailto:fine AT main1 DOT jinr DOT dubna DOT su
mailto:fine AT vxcern DOT cern DOT ch
Dr. Valeri Faine
------------ Phone: +41 22 767 6468
CERN FAX : +41 22 782 2601
CH-1211 Geneva, 23 mailto:fine AT vxcern DOT cern DOT ch
Switzerland http://nicewww.cern.ch/~fine
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -