This is the mail archive of the
mailing list for the Cygwin project.
Re: Another problem with DLL's
- To: John Cerney <j-cerney1 at ti dot com>
- Subject: Re: Another problem with DLL's
- From: "Valery Fine" <Valeri dot Faine at cern dot ch>
- Date: Fri, 21 Mar 1997 09:48:10 +0100
- CC: gnu-win32 at cygnus dot com
- Organization: CERN/PPE/NA49
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
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
Dr. Valeri Faine
------------ Phone: +41 22 767 6468
CERN FAX : +41 22 782 2601
CH-1211 Geneva, 23 mailto:firstname.lastname@example.org
For help on using this list, send a message to
"email@example.com" with one line of text: "help".