www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Throwing exceptions across DLL boundaries

reply noob <noob_member pathlink.com> writes:
I remember having spent hours debugging some C++ code thats threw exceptions
across DLL boundaries. Didn't know then that the executable and the dlls had to
be linked with the same runtime. Is D suffering the same problem?
May 02 2004
parent imr1984 <imr1984_member pathlink.com> writes:
D has the very bad problem that if a dll throws an exception, the exe will not
catch it properly, yes.

In article <c7367c$1loa$1 digitaldaemon.com>, noob says...
I remember having spent hours debugging some C++ code thats threw exceptions
across DLL boundaries. Didn't know then that the executable and the dlls had to
be linked with the same runtime. Is D suffering the same problem?

May 02 2004