delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/11/18/02:12:06

From: khan AT xraylith DOT wisc DOT edu (Mumit Khan)
Subject: Re: cout/cerr in DLL?
18 Nov 1998 02:12:06 -0800 :
Message-ID: <9811172221.AA27631.cygnus.gnu-win32@modi.xraylith.wisc.edu>
References: <19981117144547 DOT 19152 DOT qmail AT findmail DOT com>
To: "Andreas Holzmann" <Andreas DOT Holzmann AT cs DOT uni-dortmund DOT de>
Cc: gnu-win32 AT cygnus DOT com

"Andreas Holzmann" <Andreas DOT Holzmann AT cs DOT uni-dortmund DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019