On Wed, 13 Apr 2016, Mazola Winstrol wrote:

Hello list,

I writting a cross-platform shared library (.dll, .so). I need to
initialize some global variables.

As the free pascal doesn't support library events (PROCESS_ATTACH,
PROCESS_DETACH), what is the correct to way to do this?

It does, but it catches them in the system unit; I do not think they are
exposed.

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

Reply via email to