Re: [Wine] About new environment variable

2007-07-31 Thread Detlef Riekenberg
On Di, 2007-07-31 at 11:24 +0800, Zhongli Xu wrote: > After I add an environment avriable in the system.reg file, e.g. The Files are Private to wine and a running wine overwrite your Changes. When you want to change the registry use wine regedit.exe and use the GUI, or create a *.reg file and u

Re: About new environment variable

2007-07-31 Thread Stefan Dösinger
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(),

Re: About new environment variable

2007-07-30 Thread Vitaliy Margolen
Zhongli Xu wrote: After I add an environment avriable in the system.reg file, e.g. Don't ever do that. Use regedit or proper registry API. Also do not crosspost. If you asking in user channel, then ask there. If you asking developers, then ask on wine-devel only. Vitaliy.

About new environment variable

2007-07-30 Thread 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. Any i