[Lazarus] How to add & change application EnvironmentList ?
Petr Hložek
petr at petrhlozek.cz
Thu Aug 27 12:42:29 CEST 2015
> If TProcess can get extra parameter, why not add to current process? but I
>> think this is compiler site problem, get variable function is there but
>> there is no get functions.
>
>
If you wan to add a variable to current process, please look here:
http://sourceforge.net/p/cqrlog/code/HEAD/tree/branches/cqrlog_0.9/cqrlog.lpr
and look at
setenv(PChar('FIREBIRD'),PChar(ExtractFilePath(Application.Exename)),1);
But you have to do that first, before all is incialized.
Petr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150827/22c42ff9/attachment-0003.html>
More information about the Lazarus
mailing list