Subject: LoadLibrary() from DLLMain
From: [email-masked] (Paul Herzog)

29 Aug 1998 20:40:52 -0700
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 8bit
To: "'GNU-WIN32'" <[email-masked]>

I'm trying to load a DLL from DLLMain() and it works fine with msvc generated DLL's, but not with mingw32/egcs DLL's.  

Funny thing, if I try to LoadLibrary the same mingw32/egcs DLL's from a win32 executable, it loads just fine.  

When trying to LoadLibrary this mingw32/egcs DLL from DLLMain, i get a return value of 0.  GetLastError() then provides the 998 value presumably meaning some resource is busy and can not be accessed.

Is this related to both DLL's using CRTDLL ???

frustrated.

--
Paul Herzog

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".