Loading backends/regedit/regedit.cpp +2 −3 Original line number Diff line number Diff line Loading @@ -279,7 +279,6 @@ namespace confplus { void Registry::saveConfig(const char *path, const Config *conf){ HKEY hRootKey; DWORD dwDisposition; std::string fullPath(path); HKEY hRootKey = HKEY_CURRENT_USER; // Standard-Root-Key Loading Loading @@ -311,9 +310,9 @@ namespace confplus { // Subkey-Pfad ist der Rest nach dem ersten '\' subKeyPath = fullPath.substr(slashPos + 1); } OpenKey: LONG lRes = RegCreateKeyExA( REGISTRY_ROOT_KEY, // Nutzt den globalen Root-Key hRootKey, // Nutzt den globalen Root-Key path, 0, NULL, REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, Loading Loading
backends/regedit/regedit.cpp +2 −3 Original line number Diff line number Diff line Loading @@ -279,7 +279,6 @@ namespace confplus { void Registry::saveConfig(const char *path, const Config *conf){ HKEY hRootKey; DWORD dwDisposition; std::string fullPath(path); HKEY hRootKey = HKEY_CURRENT_USER; // Standard-Root-Key Loading Loading @@ -311,9 +310,9 @@ namespace confplus { // Subkey-Pfad ist der Rest nach dem ersten '\' subKeyPath = fullPath.substr(slashPos + 1); } OpenKey: LONG lRes = RegCreateKeyExA( REGISTRY_ROOT_KEY, // Nutzt den globalen Root-Key hRootKey, // Nutzt den globalen Root-Key path, 0, NULL, REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, Loading