[fpc-devel] Unit initialization not called in arm-wince DLLs?

TOndrej tondrej at gmail.com
Mon Nov 20 14:22:28 CET 2006


Hi all,

it seems that unit initialization is not called in arm-wince DLLs.
The debugger shows:
(gdb) display $INTERFACEBASE_WIDGETSET
2: $INTERFACEBASE_WIDGETSET = void

whereas the InterfaceBase.WidgetSet global variable should have been
assigned in the initialization section of Interfaces unit in
\lcl\wince\interfaces.pp.

I'm using FPC svn 5389 with Lazarus/LCL svn 10204.
Can anyone please confirm this?

I'm only starting with FreePascal... I'd be extremely thankful for a
fix or a workaround. Any suggestion on how to call initialization of
all linked units in code?

Thanks a lot in advance,

TOndrej



More information about the fpc-devel mailing list