[Lazarus] How to add & change application EnvironmentList ?

FreeMan freeman35 at delphiturkiye.com
Wed Aug 26 21:01:22 CEST 2015


On 26.08.2015 21:22, Michael Van Canneyt wrote:
> Here you must add
>
>      AProcess.Environment.Add('LD_LIBRARY_PATH='+fb_RootPath);
>
> It is not necessary to execute the shell.
>
> I use this technique myself, so I am sure it works.
>
> Michael.
Sorry Micheal, you miss understood me. first of all, thank you, I 
learned one more think.
My problem is, adding EnvironmentVariable to application. In terminal 
"export" command do this, then run application in this terminal.  I need 
this for, firebird embeded need this two EnvironmentVariable. Applcation 
can be any folder, so my solution is add this two EnvironmentVariable 
from in application. I hope I can translate my problem.




More information about the Lazarus mailing list