<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 12, 2019 at 1:13 PM Dmitry Timoshkov <<a href="mailto:dmitry@baikal.ru">dmitry@baikal.ru</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">An application that I have here checks comctl32.dll version information<br>
and refuses to run, changing DLL version to 6.0 makes it run.<br>
<br>
Signed-off-by: Dmitry Timoshkov <<a href="mailto:dmitry@baikal.ru" target="_blank">dmitry@baikal.ru</a>><br>
---<br>
 dlls/comctl32/comctl32.h  | 2 +-<br>
 dlls/comctl32/comctl32.rc | 2 +-<br>
 include/commctrl.h        | 2 +-<br>
 3 files changed, 3 insertions(+), 3 deletions(-)<br>
<br>
diff --git a/dlls/comctl32/comctl32.h b/dlls/comctl32/comctl32.h<br>
index f3e889c4bd..ca1738085a 100644<br>
--- a/dlls/comctl32/comctl32.h<br>
+++ b/dlls/comctl32/comctl32.h<br>
@@ -192,7 +192,7 @@ INT  Str_GetPtrAtoW (LPCSTR lpSrc, LPWSTR lpDest, INT nMaxLen) DECLSPEC_HIDDEN;<br>
 BOOL Str_SetPtrAtoW (LPWSTR *lppDest, LPCSTR lpSrc) DECLSPEC_HIDDEN;<br>
 BOOL Str_SetPtrWtoA (LPSTR *lppDest, LPCWSTR lpSrc) DECLSPEC_HIDDEN;<br>
<br>
-#define COMCTL32_VERSION_MINOR 81<br>
+#define COMCTL32_VERSION_MINOR 0<br>
<br>
 /* Our internal stack structure of the window procedures to subclass */<br>
 typedef struct _SUBCLASSPROCS {<br>
diff --git a/dlls/comctl32/comctl32.rc b/dlls/comctl32/comctl32.rc<br>
index c9aa1ba625..be6e242519 100644<br>
--- a/dlls/comctl32/comctl32.rc<br>
+++ b/dlls/comctl32/comctl32.rc<br>
@@ -114,7 +114,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL<br>
 #define WINE_FILEDESCRIPTION_STR "Wine Common Controls"<br>
 #define WINE_FILENAME_STR "comctl32.dll"<br>
 #define WINE_FILEVERSION COMCTL32_VERSION, COMCTL32_VERSION_MINOR, 4704, 1100<br>
-#define WINE_FILEVERSION_STR "5.81"<br>
+#define WINE_FILEVERSION_STR "6.00.4704.1100"<br>
 #define WINE_PRODUCTVERSION WINE_FILEVERSION<br>
 #define WINE_PRODUCTVERSION_STR WINE_FILEVERSION_STR<br>
<br>
diff --git a/include/commctrl.h b/include/commctrl.h<br>
index 700b335fbb..029a4b4545 100644<br>
--- a/include/commctrl.h<br>
+++ b/include/commctrl.h<br>
@@ -51,7 +51,7 @@ enum _LI_METRIC<br>
 HRESULT WINAPI LoadIconWithScaleDown(HINSTANCE, const WCHAR *, int, int, HICON *);<br>
 HRESULT WINAPI LoadIconMetric(HINSTANCE, const WCHAR *, int, HICON *);<br>
<br>
-#define COMCTL32_VERSION                5  /* dll version */<br>
+#define COMCTL32_VERSION                6  /* dll version */<br></blockquote><div><br></div><div>So which one does it check, resources or DllGetVersion()?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
 #ifndef _WIN32_IE<br>
 #define _WIN32_IE 0x0400<br>
-- <br>
2.20.1<br>
<br>
<br>
</blockquote></div></div>