This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cout/cerr in DLL?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]