Exceptions in shared objects

I am trying to write a shared object compiled with C++ 5.0, that has

try, thraw and catch statements in it. This C++ mudule has only C interface

to the caller, which is a pure C shared object. The caller is called by

a main() compiled with C++5.0, with compat=4 flag.

What happens is that the exception is not caught in the called C++

shared object, and causes main to abort. If I don't use compat=4

then everything work.

In reality, I have to supply a shared object to a third party

application that was compiled with version 4, therefore my trials.

Any help is highly appreciated.

Eitan

[663 byte] By [eitanm] at [2007-11-25 23:41:29]
# 1
I know its almost a year later .. but did you ever resolve this problem ? .. If so .. could you please share the solution with me ?TIA,davpatrick@aol.com
davpatrick at 2007-7-5 18:49:06 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2
I am having exactly the same problem. Any help would be appreciated.
cascade1974 at 2007-7-5 18:49:06 > top of Java-index,Development Tools,Solaris and Linux Development Tools...