Fix vmap3extractor for windows again...
(Silly Microsoft and their idiotic "let's make SURE others can't use something that would make their lives easier") http://msdn.microsoft.com/en-us/library/ms724897%28VS.85%29.aspx <--- the culprit (BLAAAAH!) --HG-- branch : trunk
This commit is contained in:
@@ -251,8 +251,8 @@ void getGamePath()
|
|||||||
LONG l;
|
LONG l;
|
||||||
s = sizeof(input_path);
|
s = sizeof(input_path);
|
||||||
memset(input_path,0,s);
|
memset(input_path,0,s);
|
||||||
l = RegOpenKeyEx(HKEY_LOCAL_MACHINE,"SOFTWARE\\Blizzard Entertainment\\World of Warcraft",0,KEY_QUERY_VALUE,&key);
|
l = RegOpenKeyExA(HKEY_LOCAL_MACHINE,"SOFTWARE\\Blizzard Entertainment\\World of Warcraft",0,KEY_QUERY_VALUE,&key);
|
||||||
l = RegQueryValueEx(key,"InstallPath",0,&t,(LPBYTE)input_path,&s);
|
l = RegQueryValueExA(key,"InstallPath",0,&t,(LPBYTE)input_path,&s);
|
||||||
RegCloseKey(key);
|
RegCloseKey(key);
|
||||||
if (strlen(input_path) > 0)
|
if (strlen(input_path) > 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user