[fpc-pascal] loadlibrary() unsafe ?
fredvs
fiens at hotmail.com
Sun Jun 21 00:53:14 CEST 2015
@ Waldo => thanks for help. ;-)
But TProcess.Environment kills the script...
No script needed anymore ;-)
The script will become a program.ini...
=> Works perfectly.
TProcess.Environment.Text := 'LD_PRELOAD='/the/directory/of/thelibrary.so'
;
=> And now, canclel_speech (= TProcess.terminate) woks perfectly (not with a
script).
Fre;D
PS: Excellent tip to know, many thanks for the gem.
-----
Many thanks ;-)
--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/loadlibrary-unsafe-tp5721801p5721873.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
More information about the fpc-pascal
mailing list