Hi, if I throw an exception in a shared library it cannot be caught in the same library. The code for throwing the exception is
throw new TWTMeshingLib::Utils::CTWTException( "Vector length is zero!", __FUNCTION__, __FILE__, __LINE__ ); and the catching code is try {...} catch (TWTMeshingLib::Utils::CTWTException *e) {...}. The program was compiled with g++ 4.1.2 on an OpenSUSE 64bit system and on a Debian 64bit system. The exception can be caught, if the library is linked statically and it can always be caught on 32 bit systems. So probably the code itself is correct. Is this a known problem? What can I do to catch exceptions within a dynamic library on 64 bit systems? Thank you very much, Benjamin _______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus