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?


On Tue, Nov 17, 1998 at 04:21:33PM -0600, Mumit Khan wrote:
> "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"
> 
> 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. 

Uh, sorry, it's true, I forgot to write some more information :-(
I'm running B20 (gcc version egcs-2.91.57 19980901 (egcs-1.1 release))

I attached a small example that will not work.

  Andreas

testit.tar.gz


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