From: Andreas DOT Holzmann AT informatik DOT uni-dortmund DOT de (Andreas Holzmann) Subject: Re: cout/cerr in DLL? 18 Nov 1998 17:00:23 -0800 Message-ID: <19981118102129.B870.cygnus.gnu-win32@rothaus> References: <19981117144547 DOT 19152 DOT qmail AT findmail DOT com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=+QahgC5+KEYLbs62 To: Mumit Khan Cc: Andreas Holzmann , gnu-win32 AT cygnus DOT com --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=us-ascii On Tue, Nov 17, 1998 at 04:21:33PM -0600, Mumit Khan wrote: > "Andreas Holzmann" 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 --+QahgC5+KEYLbs62 Content-Type: application/octet-stream Content-Disposition: attachment; filename="testit.tar.gz" Content-Transfer-Encoding: base64 H4sIAJaPUjYAA+1YbU/bSBDma/ZXjHKgOGnsOE7iSEAQb1WLlIOKcuLuCJjF3iRWN97Idq7Q lv72zu6aQGkovRMJJ+Enwt6dfZnHuzO7M6QsScO0tjRPQNNut1qwBHWn2bL1u1HH9xQ2gOti Y91t2S5ge91pLUFrrqwyTJKUxgBLQ8E/jWgUPdTvIsGO/f4iKC0Sqd7/3+kH1g85m4uOuv3T /XfcdjPbf9t1bQf3v+G2nSWw58LmHl74/u/89eZ4b7/heN297ffQgWUjGTLOgflDAb+AHrkp md3zIIwjOmLQOx/4PpjjOIxSU5qVKcUdHl6g3KLwZfYMCQvAZFBKNs96CONky/ybmp9OZaW8 ulmryUJ9c1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NzJZ wH0uEqZUZaLsOLJf1HGUI0eOHDly5MiRI0eOHDnmhG9PjlmwACgAAA== --+QahgC5+KEYLbs62-- - 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".