Commit b6e4cdfb authored by jan.koester's avatar jan.koester
Browse files

inital support regedit

parent eac65837
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -194,8 +194,6 @@ namespace confplus {
                    continue;
                }
                
                std::cout << "[DEBUG] Registry Key: " << cname << " = " << cvalue << std::endl; 
                
                Config::ConfigData* ckey = conf->setKey(cname);
                conf->setValue(ckey, 0, cvalue);
            }
@@ -238,9 +236,6 @@ namespace confplus {
                    
                    std::string nextConfigPath = currentConfigPath + "/" + subKeyNameStr;
                    
                    // Debug-Ausgabe für den Stack-Push
                    std::cout << "[DEBUG] Pushing Stack: " << nextConfigPath << std::endl;
                    
                    keyStack.push({hSubKey, nextConfigPath, true});
                } else {
                    std::cerr << "[DEBUG] RegOpenKeyExA failed for subkey: " << subKeyNameBuffer.get() 
@@ -500,7 +495,7 @@ namespace confplus {
        }

        // Starte die iterative Ladefunktion mit dem vollständigen Pfad.
        loadsubKey(conf, hKey, initialConfigPath);
        loadsubKey(conf,hKey, "");
        
        RegCloseKey(hKey);
    }