[fpc-pascal] loadlibrary() unsafe ?

fredvs fiens at hotmail.com
Fri Jun 12 23:24:19 CEST 2015


@ Ewald and Mark => thanks for answer. ;-)

Yep, i agree, the process is "exotic" but works so good.

I have to agree too, following Martin Schreiber way: => export
LD_PRELOAD=$LIBPORTAUDIO, before to run the executable works too.

And is maybe safer.
And do not need dynlibs in uses section.
And no need to unloadlib().

So, in short, use loadlibrary() to pre-load a library works but better not
use it ;-)

Many thanks.

Fre;D







-----
Many thanks ;-)
--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/loadlibrary-unsafe-tp5721801p5721822.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list