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