Thanx for the answer.
I did some more checking after my post, and the problem is exactly what you
say, the exception gets lost when it passes c code. I tried to compile the c
code with g++ but too many errors. Can I compile the c code with egcs and
still have exception handling in it?
Any help would be appreciated.
Thanx
Eran
-----Original Message-----
From: Martin v. Loewis [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 23, 2000 10:19 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: exception handling
> Am having a problem catching exceptions.
> I work with shared libraries, I throw an exception and catch it in the
> same dll. The problem is that it is not caught, instead I get a
> SIGABORT.
> The same code works for me on other Unix platforms, using the native
> compiler.
> Any ideas?
It's hard to tell, with as little information as you gave. A typical
problem is that not all code on the stack is compiled with
-fexceptions; in particular, C code is often not compiled that way.
There could be hundreds of other reasons as well, of course.
Regards,
Martin