After I add an environment avriable in the system.reg file, e.g.<br>[System\\CurrentControlSet\\Control\\Session Manager\\Environment] 1185851455<br>"MY_VARIABLE"="VALUE"<br><br>I tried to read this variable thru the API GetEnvironmentVariable(), but it failed.
<br>Other variables, such as PATH, OS, are OK.<br><br>Any idea is welcomed.<br><br>