From 954f64e0da59794de2bc359380c4b050281d4fe6 Mon Sep 17 00:00:00 2001 From: Jeroen Ruigrok van der Werven Date: Sun, 27 Nov 2022 16:18:00 +0100 Subject: [PATCH] Add DLL versioning --- obl_clipcursor.rc | 100 +++++++++++++++++++++++++++++++++++++++++ obl_clipcursor.vcxproj | 4 ++ resource.h | 14 ++++++ 3 files changed, 118 insertions(+) create mode 100644 obl_clipcursor.rc create mode 100644 resource.h diff --git a/obl_clipcursor.rc b/obl_clipcursor.rc new file mode 100644 index 0000000..ef0eb1b --- /dev/null +++ b/obl_clipcursor.rc @@ -0,0 +1,100 @@ +// Microsoft Visual C++ generated resource script. +// +#pragma code_page(65001) + +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include "winres.h" + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// English (United Kingdom) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG) +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + +2 TEXTINCLUDE +BEGIN + "#include ""winres.h""\r\n" + "\0" +END + +3 TEXTINCLUDE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + + +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 1,0,0,0 + PRODUCTVERSION 1,0,0,0 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x40004L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "200004b0" + BEGIN + VALUE "FileDescription", "An OBSE plugin to fix inactive window scrolling" + VALUE "FileVersion", "1.0.0.0" + VALUE "InternalName", "obl_clip.dll" + VALUE "LegalCopyright", "Copyright (C) 2022" + VALUE "OriginalFilename", "obl_clip.dll" + VALUE "ProductName", "Oblivion Inactive Window Scroll Fix" + VALUE "ProductVersion", "1.0.0.0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x2000, 1200 + END +END + +#endif // English (United Kingdom) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/obl_clipcursor.vcxproj b/obl_clipcursor.vcxproj index 8447f4b..57fbf85 100644 --- a/obl_clipcursor.vcxproj +++ b/obl_clipcursor.vcxproj @@ -108,12 +108,16 @@ + + + + diff --git a/resource.h b/resource.h new file mode 100644 index 0000000..0e762dc --- /dev/null +++ b/resource.h @@ -0,0 +1,14 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by obl_clipcursor.rc + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 101 +#define _APS_NEXT_COMMAND_VALUE 40001 +#define _APS_NEXT_CONTROL_VALUE 1001 +#define _APS_NEXT_SYMED_VALUE 101 +#endif +#endif