delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/09/19/00:35:33

From: anorland AT hem2 DOT passagen DOT se (Anders Norlander)
Subject: Re: [HELP] Loading Mingw32 built DLLs into an MSVC application (again)
19 Sep 1998 00:35:33 -0700 :
Message-ID: <3602882A.43D02BBF.cygnus.gnu-win32@hem2.passagen.se>
References: <199809171837 DOT UAA21812 AT wanadoo DOT fr>
Mime-Version: 1.0
To: Gilles Depeyrot <Gilles DOT Depeyrot AT wanadoo DOT fr>
Cc: gnu-win32 AT cygnus DOT com

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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019