[Dev-C++] environment variables under win2k and registry save information
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: xavier <x.p...@fr...> - 2004-08-16 21:17:57
|
Hi, I would like to SET variables to the windows system into my program : like "set tmp=c:\temp" under DOS I often use the getenv() function , but is there a "setenv()" equivalent. I noticed that win2k save is environment variables into registry. How canI simply "write" to the registry ? is there a function for ? xavier |