12.02.2011 16:36, Dejan Boras wrote:
I've got a library which runs on Android, and is loaded by a Java program. The 
INITIALIZATION sections of units do not seem to be called, is there a way to do 
this manually, or am I missing something?
It must be done automatically but you can force it yourself:

program test;
procedure internal_initializeunits; external name 'FPC_INITIALIZEUNITS';

begin
  internal_initializeunits;
end.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to