diff options
author | George Hazan <george.hazan@gmail.com> | 2013-09-27 14:02:34 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-09-27 14:02:34 +0000 |
commit | 57a672e41da2cba46722e337a80f9c080b39305d (patch) | |
tree | a4b99a66af2f9bb46bb8b8c51f42c0af4e752008 /plugins/ShellExt/src/main.cpp | |
parent | 93803b014deca7d3cd450b4536cb0baa310f612b (diff) |
ShellExt shall not call mir_core.dll
git-svn-id: http://svn.miranda-ng.org/main/trunk@6250 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ShellExt/src/main.cpp')
-rw-r--r-- | plugins/ShellExt/src/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/ShellExt/src/main.cpp b/plugins/ShellExt/src/main.cpp index e6b87adf42..24e1cdc736 100644 --- a/plugins/ShellExt/src/main.cpp +++ b/plugins/ShellExt/src/main.cpp @@ -3,6 +3,7 @@ HINSTANCE hInst;
int hLangpack;
+bool bIsVistaPlus;
TCHAR tszLogPath[MAX_PATH];
@@ -23,6 +24,8 @@ PLUGININFOEX pluginInfoEx = { BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
if (fdwReason == DLL_PROCESS_ATTACH) {
+ bIsVistaPlus = GetProcAddress( GetModuleHandleA("kernel32.dll"), "GetProductInfo") != NULL;
+
GetTempPath(SIZEOF(tszLogPath), tszLogPath);
_tcscat_s(tszLogPath, SIZEOF(tszLogPath), _T("shlext.log"));
|