diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-27 21:26:16 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-27 21:26:16 +0300 |
commit | c3a911f1029cba7dc783457461a53af41ce1b5fc (patch) | |
tree | 71633ff7608da663e0cee2c2004bd8dd1d7a0f0b | |
parent | 2c0887990beeb6c6f1058ad436e95f5b3a86e401 (diff) |
version check temporarily disabled
-rw-r--r-- | src/mir_app/src/dll_sniffer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mir_app/src/dll_sniffer.cpp b/src/mir_app/src/dll_sniffer.cpp index 0aaf974421..8cffcbf98a 100644 --- a/src/mir_app/src/dll_sniffer.cpp +++ b/src/mir_app/src/dll_sniffer.cpp @@ -188,9 +188,9 @@ MUUID* GetPluginInterfaces(const wchar_t* ptszFileName, bool& bIsPlugin) VS_FIXEDFILEINFO *vsffi;
VerQueryValue(&pSecStart[dwVersion], L"\\", (PVOID*)&vsffi, &blockSize);
- UINT v[4] = { MIRANDA_VERSION_FILEVERSION };
- if (MAKELONG(v[1], v[0]) == vsffi->dwProductVersionMS && MAKELONG(v[3], v[2]) == vsffi->dwProductVersionLS)
- nChecks++;
+ // UINT v[4] = { MIRANDA_VERSION_FILEVERSION };
+ // if (MAKELONG(v[1], v[0]) == vsffi->dwProductVersionMS && MAKELONG(v[3], v[2]) == vsffi->dwProductVersionLS)
+ // nChecks++;
}
}
}
@@ -204,6 +204,6 @@ MUUID* GetPluginInterfaces(const wchar_t* ptszFileName, bool& bIsPlugin) CloseHandle(hFile);
};
- bIsPlugin = nChecks == 2;
+ bIsPlugin = nChecks != 0;
return pResult;
}
|