diff --git a/src/Utils.cpp b/src/Utils.cpp index ad7f5d9..7e4d9c8 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp @@ -30,6 +30,7 @@ #include #include #include +#include //StdLib #include @@ -569,7 +570,7 @@ bool mixp_reg_value_read(int rootKey, const QString &keyName, const QString &val */ bool mixp_reg_key_delete(int rootKey, const QString &keyName) { - return (RegDeleteTree(mixp_reg_root(rootKey), QWCHAR(keyName)) == ERROR_SUCCESS); + return (SHDeleteKey( mixp_reg_root(rootKey), QWCHAR(keyName)) == ERROR_SUCCESS); } /*