This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: [HELP] Loading Mingw32 built DLLs into an MSVC application (again)
- To: Gilles Depeyrot <Gilles dot Depeyrot at wanadoo dot fr>
- Subject: Re: [HELP] Loading Mingw32 built DLLs into an MSVC application (again)
- From: Anders Norlander <anorland at hem2 dot passagen dot se>
- Date: Fri, 18 Sep 1998 18:19:54 +0200
- CC: gnu-win32 at cygnus dot com
- References: <199809171837.UAA21812@wanadoo.fr>
Gilles Depeyrot wrote:
>
> Hello everyone,
>
> I've been trying on and off for several months to create a DLL
> using egcs and loading it into an MSVC 5.0 compiled application
> under Windows 95.
>
> The problem I am encountering is that I succeed in building a
> relocatable DLL (at least I think it is) with egcs and have no
> problem loading it either with a small test program compiled
> either with egcs or with MSVC.
>
> However, I have never succeeded in loading my sample DLL into
> my real life application. LoadLibrary returns NULL and GetLastError
> returns 0 !
What if you statically link the DLL with
your app?
/Anders
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".