[fpc-pascal] Unit initialization in dll initialization for arm/WinCE

Sven Barth pascaldragon at googlemail.com
Mon Jun 11 12:53:48 CEST 2012

Am 11.06.2012 12:25, schrieb kyan:
> Does unit initialization in libraries (.dll files) work in arm/WinCE?

 From the startup code of arm-wince I don't see why it should not work...

> Somehow it seems that even code placed in the library initialization
> begin end block isn't executed either.

How did you test this?

> I found some bug reports (e.g.
> 0019404) suggesting that this didn't work for arm/Linux but it has
> been added to the trunk. But not for arm/WinCE?

Linux and Windows have different schemes for library initialization, so 
even if it was the case that arm-wince did not work it would not help to 
apply the fix for arm-linux there as well.


More information about the fpc-pascal mailing list