After I add an environment avriable in the system.reg file, e.g.<br>[System\\CurrentControlSet\\Control\\Session Manager\\Environment] 1185851455<br>&quot;MY_VARIABLE&quot;=&quot;VALUE&quot;<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>