[Lazarus] LCL and library

Joachim Paepke Joachim.Paepke at t-online.de
Sun Mar 30 23:11:44 CEST 2014


Hello

I'm using this:
Debian 7.4 (wheezy)(32 bit), gtk 2.24.10
FPC 2.7.1 SVN 27327
LAZ 1.3 SVN 44546

Nearly all controls from the LCL work proper in a library. Only the
TListView ends up with this:

(xxxxx:4671): GLib-GObject-WARNING **: cannot register existing type
`LCLListViewModel'

(xxxxx:4671): GLib-GObject-CRITICAL **: g_type_add_interface_static:
assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(xxxxx:4671): GLib-GObject-CRITICAL **: g_object_new: assertion
`G_TYPE_IS_OBJECT (object_type)' failed
TApplication.HandleException Access violation
  Stack trace:
  $B20A1533
  $B20985DB 
  etc.

Any idea how to get around this, or is it simply not possible?

Yogi






More information about the Lazarus mailing list