7 -LIB2 = -lOle32 -loleaut32 -luuid -ladvapi32 -lUser32 -lShell32
8 +LIB2 = -lole32 -loleaut32 -luuid -ladvapi32 -luser32 -lshell32
10 CFLAGS_EXTRA = -DUNICODE -D_UNICODE
11 # -Wno-delete-non-virtual-dtor
15 #define MY_VFT_APP 0x00000001L
16 #define MY_VFT_DLL 0x00000002L
18 -// #include <WinVer.h>
19 +// #include <winver.h>
22 #include "7zVersion.h"
23 --- a/C/Util/7zipInstall/resource.rc
24 +++ b/C/Util/7zipInstall/resource.rc
28 // #include <WinUser.h>
29 -#include <CommCtrl.h>
30 +#include <commctrl.h>
32 #define USE_COPYRIGHT_CR
33 #include "../../7zVersion.rc"
34 --- a/C/Util/7zipInstall/resource.rc.rej
35 +++ b/C/Util/7zipInstall/resource.rc.rej
37 +--- C/Util/7zipInstall/resource.rc
38 ++++ C/Util/7zipInstall/resource.rc
41 + #include <WinUser.h>
42 +-#include <CommCtrl.h>
43 ++#include <commctrl.h>
45 + #define USE_COPYRIGHT_CR
46 + #include "../../7zVersion.rc"
47 --- a/C/Util/7zipUninstall/resource.rc
48 +++ b/C/Util/7zipUninstall/resource.rc
52 // #include <WinUser.h>
53 -#include <CommCtrl.h>
54 +#include <commctrl.h>
56 #define USE_COPYRIGHT_CR
57 #include "../../7zVersion.rc"
58 --- a/C/Util/7zipUninstall/resource.rc.rej
59 +++ b/C/Util/7zipUninstall/resource.rc.rej
61 +--- C/Util/7zipUninstall/resource.rc
62 ++++ C/Util/7zipUninstall/resource.rc
65 + #include <WinUser.h>
66 +-#include <CommCtrl.h>
67 ++#include <commctrl.h>
69 + #define USE_COPYRIGHT_CR
70 + #include "../../7zVersion.rc"
71 --- a/CPP/7zip/7zip_gcc.mak
72 +++ b/CPP/7zip/7zip_gcc.mak
74 DEL_OBJ_EXE = -$(RM) $(O)\*.o $(O)\$(PROG).exe $(O)\$(PROG).dll
77 -LIB2_GUI = -lOle32 -lGdi32 -lComctl32 -lComdlg32 -lShell32 $(LIB_HTMLHELP)
78 -LIB2 = -loleaut32 -luuid -ladvapi32 -lUser32 $(LIB2_GUI)
79 +LIB2_GUI = -lole32 -lgdi32 -lcomctl32 -lcomdlg32 -lshell32 $(LIB_HTMLHELP)
80 +LIB2 = -loleaut32 -luuid -ladvapi32 -luser32 $(LIB2_GUI)
82 # v24.00: -DUNICODE and -D_UNICODE are defined in precompilation header files
83 # CXXFLAGS_EXTRA = -DUNICODE -D_UNICODE
84 --- a/CPP/7zip/Crypto/RandGen.cpp
85 +++ b/CPP/7zip/Crypto/RandGen.cpp
88 #ifdef USE_STATIC_RtlGenRandom
90 -// #include <NTSecAPI.h>
91 +// #include <ntsecapi.h>
95 --- a/CPP/7zip/GuiCommon.rc
96 +++ b/CPP/7zip/GuiCommon.rc
98 // #include <WinUser.h>
101 -#include <CommCtrl.h>
102 +#include <commctrl.h>
105 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
106 --- a/CPP/7zip/UI/FileManager/PanelItemOpen.cpp
107 +++ b/CPP/7zip/UI/FileManager/PanelItemOpen.cpp
110 #include "../../../Common/MyWindows.h"
112 -#include <TlHelp32.h>
113 +#include <tlhelp32.h>
115 #include "../../../Common/IntToString.h"
117 --- a/CPP/7zip/UI/FileManager/SysIconUtils.h
118 +++ b/CPP/7zip/UI/FileManager/SysIconUtils.h
121 #include "../../../Common/MyWindows.h"
123 -#include <CommCtrl.h>
124 +#include <commctrl.h>
126 #include "../../../Common/MyString.h"
128 --- a/CPP/Windows/Control/ComboBox.h
129 +++ b/CPP/Windows/Control/ComboBox.h
132 #include "../../Common/MyWindows.h"
134 -#include <CommCtrl.h>
135 +#include <commctrl.h>
137 #include "../Window.h"
139 --- a/CPP/Windows/Control/ImageList.h
140 +++ b/CPP/Windows/Control/ImageList.h
142 #ifndef ZIP7_INC_WINDOWS_CONTROL_IMAGE_LIST_H
143 #define ZIP7_INC_WINDOWS_CONTROL_IMAGE_LIST_H
145 -#include <CommCtrl.h>
146 +#include <commctrl.h>
150 --- a/CPP/Windows/Control/ListView.h
151 +++ b/CPP/Windows/Control/ListView.h
154 #include "../../Common/MyWindows.h"
156 -#include <CommCtrl.h>
157 +#include <commctrl.h>
159 #include "../Window.h"
161 --- a/CPP/Windows/Control/ProgressBar.h
162 +++ b/CPP/Windows/Control/ProgressBar.h
165 #include "../../Common/MyWindows.h"
167 -#include <CommCtrl.h>
168 +#include <commctrl.h>
170 #include "../Window.h"
172 --- a/CPP/Windows/SecurityUtils.h
173 +++ b/CPP/Windows/SecurityUtils.h
175 #ifndef ZIP7_INC_WINDOWS_SECURITY_UTILS_H
176 #define ZIP7_INC_WINDOWS_SECURITY_UTILS_H
178 -#include <NTSecAPI.h>
179 +#include <ntsecapi.h>