mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-10-06 00:56:35 -05:00
Windows: on 64-bit Windows, more System favorite service from SysWoW64 to System32 since now all binaries are native 64-bit on 64-bit machines.
This commit is contained in:
1 parent
103018b367
commit
7d6cd0c92d
6 files changed
+94
-37
No files matched your search
@@ -8264,11 +8264,11 @@ char *GetProgramConfigPath (char *fileName)
|
||||
}
|
||||
|
||||
|
||||
std::string GetServiceConfigPath (const char *fileName)
|
||||
std::string GetServiceConfigPath (const char *fileName, bool useLegacy)
|
||||
{
|
||||
char sysPath[TC_MAX_PATH];
|
||||
|
||||
if (Is64BitOs())
|
||||
if (Is64BitOs() && useLegacy)
|
||||
{
|
||||
typedef UINT (WINAPI *GetSystemWow64Directory_t) (LPTSTR lpBuffer, UINT uSize);
|
||||
|
||||
|
||||
Reference in new issue
Block a user