[Lazarus] Environment variable list

Chris Kelling kellingc at cox.net
Wed Aug 21 19:24:35 CEST 2013


I knew there was something for what I needed. Thank you, and no, not blind except maybe selectively. 

Information in this message is intended for sole use of the recipient unless otherwise noted. 

On Aug 21, 2013, at 13:17, Sven Barth <pascaldragon at googlemail.com> wrote:

> Stupid question on my side just to check whether I've understood you correctly: *are* you blind?
> 
> Regarding your problem: use GetEnvironmentVariableCount and GetEnvironmentString from unit SysUtils.
> 
> Regards,
> Sven
> 
> On 21.08.2013 18:50, Chris Kelling wrote:
>> This could be a totally stupid question, but I'm trying to do this blind. Is there a way to get a list if environment variables defined at run time?  There is a get and set, but I don't know the name of the variable I need, so I want to get a list. This should work cross platform, I think.
> 
> 
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




More information about the Lazarus mailing list