[Lazarus] How to add & change application EnvironmentList ?

FreeMan freeman35 at delphiturkiye.com
Thu Aug 27 12:51:36 CEST 2015


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)

> TProcess.Environment can be used to specify the environment of a newly 
> started process.
forget TProcess. 'cos its newly started process.
But If I can run "export" command in current process (current mean 
application's process) it will be add and application can use that.

> Michael.

I hope this time I translated what I need. :)




More information about the Lazarus mailing list