This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: DLL problem when using C++/libstdc++
- To: "gnu-win32 at cygnus dot com" <gnu-win32 at cygnus dot com>, "'Mumit Khan'" <khan at xraylith dot wisc dot edu>
- Subject: RE: DLL problem when using C++/libstdc++
- From: Sergey Okhapkin <sos at buggy dot prospect dot com dot ru>
- Date: Fri, 9 Jan 1998 19:43:23 +0300
Mumit Khan wrote:
> I've probably gone thru every possible permutation of link libraries and
> various other methods (thanks Fergus for your Makefile.DLL!), but I just
> can't DLLs to work when using C++, especially when streams are pulled in.
> Application links, but bombs when the DLL is loading.
>
Try to call __main() (to activate global constructors) in you dllmain() on
PROCESS_DLL_ATTACH event. Probably this will not be needed with B19.
--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".