[Lazarus] Library, Threads and Gui

Hans-Peter Diettrich DrDiettrich1 at aol.com
Tue Jun 5 20:28:44 CEST 2012


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





More information about the Lazarus mailing list