[fpc-pascal] Something like TProcess.Environment for libraries ?
fredvs
fiens at hotmail.com
Fri Jan 27 19:14:35 CET 2017
Hello.
If you are using a TProcess and your executable depends on libraries, there
is TProcess.Environment to define the library path, example:
AProcess.Environment.Text := 'LD_LIBRARY_PATH=' + alibrarypath;
For library, LoadLibrary(alibrary) loads dynamicaly it-self but if the
library depends on other libraries how to define that libraries-path (if <>
lib-system-path) ?
Thanks.
Fre;D
-----
Many thanks ;-)
--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Something-like-TProcess-Environment-for-libraries-tp5727468.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
More information about the fpc-pascal
mailing list