From 13535251bfad533a2d3792198e78ea08406217c0 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Mon, 19 Mar 2001 19:17:27 +0000 Subject: [PATCH] Add version info for built-in oleaut32.dll. --- dlls/oleaut32/.cvsignore | 1 + dlls/oleaut32/Makefile.in | 3 +++ dlls/oleaut32/oleaut32.spec | 1 + dlls/oleaut32/version.rc | 4 ++++ include/wine/wine_common_ver.rc | 10 ++++++++-- 5 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 dlls/oleaut32/version.rc diff --git a/dlls/oleaut32/.cvsignore b/dlls/oleaut32/.cvsignore index b9a5136e761..7949dfe1ed5 100644 --- a/dlls/oleaut32/.cvsignore +++ b/dlls/oleaut32/.cvsignore @@ -1,3 +1,4 @@ *.spec.c *.spec.glue.s Makefile +version.res diff --git a/dlls/oleaut32/Makefile.in b/dlls/oleaut32/Makefile.in index daf8bf7f906..0762cbb81a1 100644 --- a/dlls/oleaut32/Makefile.in +++ b/dlls/oleaut32/Makefile.in @@ -23,6 +23,9 @@ C_SRCS = \ typelib.c \ variant.c +RC_SRCS = \ + version.rc + @MAKE_DLL_RULES@ ### Dependencies: diff --git a/dlls/oleaut32/oleaut32.spec b/dlls/oleaut32/oleaut32.spec index 4c44c32860c..bf955f8a65f 100644 --- a/dlls/oleaut32/oleaut32.spec +++ b/dlls/oleaut32/oleaut32.spec @@ -1,5 +1,6 @@ name oleaut32 type win32 +rsrc version.res import ole32.dll import user32.dll diff --git a/dlls/oleaut32/version.rc b/dlls/oleaut32/version.rc new file mode 100644 index 00000000000..5bd36e30354 --- /dev/null +++ b/dlls/oleaut32/version.rc @@ -0,0 +1,4 @@ +#define WINE_FILEDESCRIPTION_STR "Wine OLE dll" +#define WINE_FILENAME_STR "oleaut32.dll" + +#include "wine/wine_common_ver.rc" diff --git a/include/wine/wine_common_ver.rc b/include/wine/wine_common_ver.rc index c7abb7487f7..c3f66aad104 100644 --- a/include/wine/wine_common_ver.rc +++ b/include/wine/wine_common_ver.rc @@ -1,11 +1,17 @@ #include "winver.h" +/* +Assign WINE_FILEVERSION and WINE_FILEVERSION_STR high enough number +to make sure that programs, relying on the version numbers, will +never complain. +*/ + #ifndef WINE_FILEVERSION -#define WINE_FILEVERSION 1,0,0,0 +#define WINE_FILEVERSION 10,0,0,0 #endif #ifndef WINE_FILEVERSION_STR -#define WINE_FILEVERSION_STR "1.0" +#define WINE_FILEVERSION_STR "10.0" #endif #ifndef WINE_FILEDESCRIPTION_STR -- 2.11.4.GIT