Francois Piette wrote:
>> How can I get all environment variables reliable?
>> I need to store them temporarily and pass them
>> later on as environment block to CreateProcess().
>> Is it save to call GetEnvironmentVariable() on each returned name?
> 
> Why not use Windows API function GetEnvironmentStrings ? 
[..]

Please see my previous post, I use it but.. obviously you have to
check the result, because on my system it randomly returns one item
that is not a valid name/value pair i.e. "=::=::\".

Thanks again for your detailed answer. 

Arno Garrels


_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to