SF#3522081: WinRegistryConfiguration unable to read REG_QWORD values

This commit is contained in:
Aleksandar Fabijanic
2012-08-21 03:15:38 +00:00
parent 2b2a362926
commit 71a055c81a
5 changed files with 48 additions and 2 deletions

View File

@@ -85,6 +85,9 @@ bool WinRegistryConfiguration::getRaw(const std::string& key, std::string& value
case WinRegistryKey::REGT_DWORD:
value = Poco::NumberFormatter::format(aKey.getInt(keyName));
break;
case WinRegistryKey::REGT_QWORD:
value = Poco::NumberFormatter::format(aKey.getInt64(keyName));
break;
default:
exists = false;
}