[fpc-pascal] Initialization in Shared Libraries

Mazola Winstrol mazofeifer at gmail.com
Wed Apr 13 20:48:47 CEST 2016

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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160413/c0ca6762/attachment.html>

More information about the fpc-pascal mailing list