31 Jul
2007
31 Jul
'07
4:24 a.m.
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 idea is welcomed.