diff options
author | Igor Pavlov <ipavlov@users.sourceforge.net> | 2016-10-05 03:00:00 +0300 |
---|---|---|
committer | Kornel LesinĚski <kornel@geekhood.net> | 2016-12-08 15:13:50 +0300 |
commit | 603abd5528c97346e9448c0ff47949f818fe558c (patch) | |
tree | 6603230f4eab118fc83554731dc86e30578ccff9 /C | |
parent | 232ce7957441b06193c4cbdc1bc9e71436fadfdb (diff) |
16.0416.04
Diffstat (limited to 'C')
-rw-r--r-- | C/7zVersion.h | 8 | ||||
-rw-r--r-- | C/DllSecur.c | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/C/7zVersion.h b/C/7zVersion.h index 565878d4..4f15081d 100644 --- a/C/7zVersion.h +++ b/C/7zVersion.h @@ -1,9 +1,9 @@ #define MY_VER_MAJOR 16 -#define MY_VER_MINOR 03 +#define MY_VER_MINOR 04 #define MY_VER_BUILD 0 -#define MY_VERSION_NUMBERS "16.03" -#define MY_VERSION "16.03" -#define MY_DATE "2016-09-28" +#define MY_VERSION_NUMBERS "16.04" +#define MY_VERSION "16.04" +#define MY_DATE "2016-10-04" #undef MY_COPYRIGHT #undef MY_VERSION_COPYRIGHT_DATE #define MY_AUTHOR_NAME "Igor Pavlov" diff --git a/C/DllSecur.c b/C/DllSecur.c index 5cf63999..90352ce1 100644 --- a/C/DllSecur.c +++ b/C/DllSecur.c @@ -1,5 +1,5 @@ /* DllSecur.c -- DLL loading security -2016-09-15 : Igor Pavlov : Public domain */ +2016-10-04 : Igor Pavlov : Public domain */ #include "Precomp.h" @@ -42,7 +42,7 @@ void LoadSecurityDlls() // at Vista (ver 6.0) : CoCreateInstance(CLSID_ShellLink, ...) doesn't work after SetDefaultDllDirectories() : Check it ??? OSVERSIONINFO vi; vi.dwOSVersionInfoSize = sizeof(vi); - if (!GetVersionEx(&vi) || vi.dwMajorVersion != 6 || vi.dwMajorVersion != 0) + if (!GetVersionEx(&vi) || vi.dwMajorVersion != 6 || vi.dwMinorVersion != 0) { Func_SetDefaultDllDirectories setDllDirs = (Func_SetDefaultDllDirectories) GetProcAddress(GetModuleHandle(TEXT("kernel32.dll")), "SetDefaultDllDirectories"); |