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]

cout/cerr in DLL?


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? 
-
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]