[fpc-pascal] Reproducible code: DLL calling Firebird crashes

Marco van de Voort marcov at stack.nl
Tue Sep 30 20:17:00 CEST 2014

In our previous episode, Sven Barth said:
> It is indeed true that all units are initialized once the main code block
> of the library is called, but you are still inside the library
> initialization initiated by the OS and thus you are subject to its
> restrictions which in the case of Windows includes not to load any
> libraries there.

So the obvious question might be if the unit initialization really  belongs
into the library initialization like that.

More information about the fpc-pascal mailing list