Posted on 2002-05-23
How can i update the registry?
value to be updated, ex: 3232343423
registry key: "Software\\Test\\test"
(Default) value: some #
I want to write a class setRegValue to handle update the registry value for that key. So that somewhere in my other function, i would call this class passing the needed parameters to update the registry.
I tried RegSetValueEx, but for some reason it doesn't work.
Please provide me with code. Thanks!