This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: cout/cerr in DLL?
- To: "Andreas Holzmann" <Andreas dot Holzmann at cs dot uni-dortmund dot de>
- Subject: Re: cout/cerr in DLL?
- From: Mumit Khan <khan at xraylith dot wisc dot edu>
- Date: Tue, 17 Nov 1998 16:21:33 -0600
- Cc: gnu-win32 at cygnus dot com
"Andreas Holzmann" <Andreas.Holzmann@cs.uni-dortmund.de> writes:
> I tried to write a small example to generate
> and load a DLL dynamically using the dlopen()
> call which works fine using c and c++. But
> when I use cout/cerr instead of printf() for
> printing silly messages in the DLL my program
> crashes? It says "handle_exceptions:
> Exception: STATUS_ACCESS_VIOLATION"
>
> Is there a trick or something?
This is fixed in B20. If you're already running B20, and still see this
problem, it's a bug and you need to post some code.
BTW, please always post relevant info such as Cygwin Version, compiler
version, etc when posting a problem report.
Regards,
Mumit
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".