How to rename key in registry using C++?
I want rename key "Myapp\Version1" to "Myapp\Version2".
I don't see any function in MSDN about renaming keys in registry.
How to rename key in registry using C++?
I want rename key "Myapp\Version1" to "Myapp\Version2".
I don't see any function in MSDN about renaming keys in registry.
If your app requires Vista or newer versions of Windows, you can use RegCopyTree() followed by RegDeleteTree().