This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Runtime GNU-DLL with MSVC
- To: gnu-win32 at cygnus dot com, ISGStuttgart at compuserve dot com
- Subject: Re: Runtime GNU-DLL with MSVC
- From: mbrett at wren dot rpms dot ac dot uk (Matthew Brett)
- Date: Fri, 13 Feb 1998 16:19:56 GMT
Dear Gerd,
"we have the following problem:
We want to use a DLL (generated with gnu-win32) with a program generated
with MSVC 5.0.
We can load the library and we can get the ProcAdress of the function in
the DLL. By calling the function the program crashes. "
There's been some recent correspondence on this. It seems that non gnuwin
appications that use DLLs that use the cygwin.dll - will crash because they
have not initialised cygwin.dll properly. This is done for gnuwin gcc apps
but not by apps that don't know about gnuwin. There's a few messages about
DLLs and non gnuwin apps this month and last in the archives. If you can't
get them, I'll send you copies. The bottom line seems to be that there is
as yet no way round this, other than trying to get your VC++ code to initialise
the cygwin DLL, but I'm hazy on the details, and better men than me have tried
to explain this on the mailing list,
Cheers,
Matthew
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".