I have two computers, the value of environment variable on different computer is not the same. For example, TMP is set to "C:\tmp" on compute 1, and TMP is set to "D:\Temp_Dir" on computer 2. When I run getenv( "TMP") API to get environment variable, the returned value on all the process are always "C:\tmp" which is the value of computer 1.
How can my code returns "D:\Temp_Dir" on computer 2?
Thanks,
Yongjun
Thread Topic:
Help Me