|
|
|
@ -136,7 +136,7 @@ namespace
@@ -136,7 +136,7 @@ namespace
|
|
|
|
|
::RegQueryValueExW(handle, nameWStr.c_str(), NULL, &type, NULL, &cbData); |
|
|
|
|
DWORD cBuffer = (cbData / sizeof(WCHAR)) + 1; |
|
|
|
|
LPWSTR lpData = new WCHAR[cBuffer]; |
|
|
|
|
LONG res = ::RegQueryValueExW(handle, nameWStr.c_str(), NULL, &type, (LPBYTE)lpData, &cbData); |
|
|
|
|
LONG res = ::RegQueryValueExW(handle, nameWStr.c_str(), NULL, &type, reinterpret_cast<LPBYTE>(lpData), &cbData); |
|
|
|
|
|
|
|
|
|
QString result; |
|
|
|
|
if (res == ERROR_SUCCESS) |
|
|
|
@ -171,7 +171,6 @@ namespace
@@ -171,7 +171,6 @@ namespace
|
|
|
|
|
if (res == ERROR_SUCCESS) |
|
|
|
|
{ |
|
|
|
|
QStringList versions = getRegSubkeys(hkPythonCore); |
|
|
|
|
qDebug("Python versions nb: %d", versions.size()); |
|
|
|
|
versions.sort(); |
|
|
|
|
|
|
|
|
|
bool found = false; |
|
|
|
|