Problem with the exceptions handling in DLLs

Bruno Bachelet bachelet@ifrance.com
Wed Jun 6 07:49:00 GMT 2001


I develop C++ programs based on several libraries. Until now I was building
static libraries. There was no problem. I'm trying now to make DLLs of these
libraries. My problem is apparently that when an exception is thrown from a
DLL, there is a message like this one:

0 [sig] CUT_FILE 709523 open_stackdumpfile: Dumping stack trace to
CUT_FILE.EXE.stackdump

and the exception is not caught. The program terminates abruptly.

For information, to make the DLLs, I used the following command with Cygwin
1.3.2 Release:

dllwrap -L$(LIBRARY_PATH) --driver-name g++ --export-all-symbols -o
<dll_name> <library_dependency> <objects>

I understood the problem is well known. But is there a solution ?
Thanks in advance for the reply.

Bruno Bachelet.


<><><><><><><><><><><><><><><><><><><><>
 Bruno Bachelet (PhD Student)
 E-mail: bachelet@ifrance.com
 Web: http://bruno.bachelet.net
<><><><><><><><><><><><><><><><><><><><>



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list