Does RTTI and exceptions work in dlls on windows?
Kagamin via Digitalmars-d
digitalmars-d at puremagic.com
Tue Nov 25 02:01:59 PST 2014
On Monday, 24 November 2014 at 20:56:29 UTC, Rainer Schuetze
wrote:
> The different DLLs have different copies of the RTTI for the
> classes (you could not link them separately otherwise). Looking
> for base classes or derived classes only compares RTTI
> pointers, so it doesn't find the target class of a cast in the
> hierarchy inside another DLL.
Maybe we can have a function, which will search the typeinfo
based on type name, like C++ does it?
More information about the Digitalmars-d
mailing list