cout/cerr in DLL?

Mumit Khan khan@xraylith.wisc.edu
Tue Nov 17 23:20:00 GMT 1998


"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".


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /