Add integration with Rider IDE

This commit is contained in:
Wojtek Figat
2021-03-02 13:43:50 +01:00
parent d6b566a3fe
commit 835cb93261
6 changed files with 221 additions and 2 deletions

View File

@@ -420,7 +420,7 @@ bool WindowsPlatform::ReadRegValue(void* root, const String& key, const String&
}
Array<Char> data;
data.Resize((int32)cbData);
data.Resize((int32)cbData / sizeof(Char));
if (RegQueryValueExW(hKey, *name, nullptr, nullptr, reinterpret_cast<LPBYTE>(data.Get()), &cbData) != ERROR_SUCCESS)
{
RegCloseKey(hKey);