How can I change the string value by using C++??
Can anyone give me some hints? thx!
Printable View
How can I change the string value by using C++??
Can anyone give me some hints? thx!
goto msdn and look up registry functions. without knowing exactly what you are doing its hard to say but i guess RegSetValue() is probably what you need.
Sorry for unclear, my question:Quote:
Originally posted by Stoned_Coder
goto msdn and look up registry functions. without knowing exactly what you are doing its hard to say but i guess RegSetValue() is probably what you need.
How can I edit the string value in C++? Can u give me an example?
For Example, I want to change the value in "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VSAnsi\ " ---
7.0<==change the string value 0 to 1.
Can u give me an example or link of editing regedit by C++?
Thx!!