About new environment variable

Stefan Dösinger stefan at codeweavers.com
Tue Jul 31 03:48:21 CDT 2007


Am Dienstag, 31. Juli 2007 05:24 schrieb Zhongli Xu:
> After I add an environment avriable in the system.reg file, e.g.
> [System\\CurrentControlSet\\Control\\Session Manager\\Environment]
> 1185851455
> "MY_VARIABLE"="VALUE"
>
> I tried to read this variable thru the API GetEnvironmentVariable(), but it
> failed.
> Other variables, such as PATH, OS, are OK.
Set the variable in your Linux/MacOS system. Like

export MY_VARIABLE=VALUE
wine myProgram.exe



More information about the wine-devel mailing list