[Lazarus] How to add & change application EnvironmentList ?

Michael Van Canneyt michael at freepascal.org
Thu Aug 27 13:05:18 CEST 2015



On Thu, 27 Aug 2015, FreeMan wrote:

> On 27.08.2015 12:58, Michael Van Canneyt wrote:
>> I'm sorry, I absolutely do not understand what you want to say.
> Sorry for my english. Think Turkish then translate via dictionary.
>
>> Application.EnvironmentList contains the environment of the current 
>> process.
>> You must consider this read-only.
> I need to add "firebird" variable(s) to environment of the current process. 
> So application can use that(s)

That is not possible; 
You must do this before the process is started.

I do this using a shell script that sets the necessary variables,
and which then starts the actual binary.

Michael.




More information about the Lazarus mailing list