@ 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.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to