Kostas Michalopoulos schrieb:

When adding a new object i use the "is" operator to see if it is a descendant of TGBrush and this always fails.

This is because the DLL uses an different tree of object classes. It includes System, Classes etc. units, as duplicates of the main program units (see the linker map).

In theory you need another DLL/so which contains all these common units (RTL+basic LCL), and which is used by all modules of the project. In practice this may not work, though :-(

DoDi


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to