From a754dbb62aa070d84f96c2cbccdcbdd8dd7b2a92 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexander=20Steinh=C3=B6fer?= Date: Tue, 12 Apr 2022 15:26:34 +0200 Subject: [PATCH] Added version tables to all components. --- ScreensaverNotify/ScreensaverNotify.rc | 100 ++++++++++++++++++ ScreensaverNotify/ScreensaverNotify.vcxproj | 4 + .../ScreensaverNotify.vcxproj.filters | 4 + ScreensaverNotify/resource.h | 14 +++ ScreensaverNotify32/ScreensaverNotify32.rc | 100 ++++++++++++++++++ .../ScreensaverNotify32.vcxproj | 4 + .../ScreensaverNotify32.vcxproj.filters | 4 + ScreensaverNotify32/resource.h | 14 +++ ScreensaverProxy32/ScreensaverProxy32.rc | 100 ++++++++++++++++++ ScreensaverProxy32/ScreensaverProxy32.vcxproj | 4 + .../ScreensaverProxy32.vcxproj.filters | 4 + ScreensaverProxy32/resource.h | 14 +++ WinMute/WinMute.cpp | 2 +- WinMute/WinMute.rc | 12 +-- 14 files changed, 373 insertions(+), 7 deletions(-) create mode 100644 ScreensaverNotify/ScreensaverNotify.rc create mode 100644 ScreensaverNotify/resource.h create mode 100644 ScreensaverNotify32/ScreensaverNotify32.rc create mode 100644 ScreensaverNotify32/resource.h create mode 100644 ScreensaverProxy32/ScreensaverProxy32.rc create mode 100644 ScreensaverProxy32/resource.h diff --git a/ScreensaverNotify/ScreensaverNotify.rc b/ScreensaverNotify/ScreensaverNotify.rc new file mode 100644 index 0000000..467edd7 --- /dev/null +++ b/ScreensaverNotify/ScreensaverNotify.rc @@ -0,0 +1,100 @@ +// Microsoft Visual C++ generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include "winres.h" + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// German (Germany) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_DEU) +LANGUAGE LANG_GERMAN, SUBLANG_GERMAN +#pragma code_page(1252) + +#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,9,9,2 + PRODUCTVERSION 1,9,9,2 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x40004L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040704b0" + BEGIN + VALUE "CompanyName", "LX-Systems" + VALUE "FileDescription", "WinMute: Screensaver detection hook for 64-bit processes" + VALUE "FileVersion", "1.9.9.2" + VALUE "InternalName", "ScreensaverNotify.dll" + VALUE "LegalCopyright", "Copyright (C) 2022, Alexander Steinhöfer" + VALUE "OriginalFilename", "ScreensaverNotify.dll" + VALUE "ProductName", "WinMute" + VALUE "ProductVersion", "1.9.9.2" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x407, 1200 + END +END + +#endif // German (Germany) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/ScreensaverNotify/ScreensaverNotify.vcxproj b/ScreensaverNotify/ScreensaverNotify.vcxproj index a9de328..4e6d123 100644 --- a/ScreensaverNotify/ScreensaverNotify.vcxproj +++ b/ScreensaverNotify/ScreensaverNotify.vcxproj @@ -184,8 +184,12 @@ + + + + diff --git a/ScreensaverNotify/ScreensaverNotify.vcxproj.filters b/ScreensaverNotify/ScreensaverNotify.vcxproj.filters index 6ed9222..6104097 100644 --- a/ScreensaverNotify/ScreensaverNotify.vcxproj.filters +++ b/ScreensaverNotify/ScreensaverNotify.vcxproj.filters @@ -15,5 +15,9 @@ Source Files + + + + \ No newline at end of file diff --git a/ScreensaverNotify/resource.h b/ScreensaverNotify/resource.h new file mode 100644 index 0000000..c96ed38 --- /dev/null +++ b/ScreensaverNotify/resource.h @@ -0,0 +1,14 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by ScreensaverNotify.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 diff --git a/ScreensaverNotify32/ScreensaverNotify32.rc b/ScreensaverNotify32/ScreensaverNotify32.rc new file mode 100644 index 0000000..02bd120 --- /dev/null +++ b/ScreensaverNotify32/ScreensaverNotify32.rc @@ -0,0 +1,100 @@ +// Microsoft Visual C++ generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include "winres.h" + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// German (Germany) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_DEU) +LANGUAGE LANG_GERMAN, SUBLANG_GERMAN +#pragma code_page(1252) + +#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,9,9,2 + PRODUCTVERSION 1,9,9,2 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x40004L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040704b0" + BEGIN + VALUE "CompanyName", "LX-Systems" + VALUE "FileDescription", "WinMute: Screensaver detection hook for 32-bit processes" + VALUE "FileVersion", "1.9.9.2" + VALUE "InternalName", "ScreensaverNotify32.dll" + VALUE "LegalCopyright", "Copyright (C) 2022, Alexander Steinhöfer" + VALUE "OriginalFilename", "ScreensaverNotify32.dll" + VALUE "ProductName", "WinMute" + VALUE "ProductVersion", "1.9.9.2" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x407, 1200 + END +END + +#endif // German (Germany) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/ScreensaverNotify32/ScreensaverNotify32.vcxproj b/ScreensaverNotify32/ScreensaverNotify32.vcxproj index 6e9ef6e..1a7542f 100644 --- a/ScreensaverNotify32/ScreensaverNotify32.vcxproj +++ b/ScreensaverNotify32/ScreensaverNotify32.vcxproj @@ -169,6 +169,10 @@ + + + + diff --git a/ScreensaverNotify32/ScreensaverNotify32.vcxproj.filters b/ScreensaverNotify32/ScreensaverNotify32.vcxproj.filters index 4aab079..91df9d2 100644 --- a/ScreensaverNotify32/ScreensaverNotify32.vcxproj.filters +++ b/ScreensaverNotify32/ScreensaverNotify32.vcxproj.filters @@ -15,5 +15,9 @@ Source Files + + + + \ No newline at end of file diff --git a/ScreensaverNotify32/resource.h b/ScreensaverNotify32/resource.h new file mode 100644 index 0000000..3b40cac --- /dev/null +++ b/ScreensaverNotify32/resource.h @@ -0,0 +1,14 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by ScreensaverNotify32.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 diff --git a/ScreensaverProxy32/ScreensaverProxy32.rc b/ScreensaverProxy32/ScreensaverProxy32.rc new file mode 100644 index 0000000..610371d --- /dev/null +++ b/ScreensaverProxy32/ScreensaverProxy32.rc @@ -0,0 +1,100 @@ +// Microsoft Visual C++ generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include "winres.h" + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// German (Germany) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_DEU) +LANGUAGE LANG_GERMAN, SUBLANG_GERMAN +#pragma code_page(1252) + +#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,9,9,2 + PRODUCTVERSION 1,9,9,2 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x40004L + FILETYPE 0x1L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040704b0" + BEGIN + VALUE "CompanyName", "LX-Systems" + VALUE "FileDescription", "WinMute: Screensaver Detection Proxy" + VALUE "FileVersion", "1.9.9.2" + VALUE "InternalName", "ScreensaverProxy32.exe" + VALUE "LegalCopyright", "Copyright (C) 2022, Alexander Steinhöfer" + VALUE "OriginalFilename", "ScreensaverProxy32.exe" + VALUE "ProductName", "WinMute" + VALUE "ProductVersion", "1.9.9.2" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x407, 1200 + END +END + +#endif // German (Germany) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/ScreensaverProxy32/ScreensaverProxy32.vcxproj b/ScreensaverProxy32/ScreensaverProxy32.vcxproj index c3bdb63..19ba1c5 100644 --- a/ScreensaverProxy32/ScreensaverProxy32.vcxproj +++ b/ScreensaverProxy32/ScreensaverProxy32.vcxproj @@ -167,8 +167,12 @@ + + + + diff --git a/ScreensaverProxy32/ScreensaverProxy32.vcxproj.filters b/ScreensaverProxy32/ScreensaverProxy32.vcxproj.filters index 26cf414..ca5a44a 100644 --- a/ScreensaverProxy32/ScreensaverProxy32.vcxproj.filters +++ b/ScreensaverProxy32/ScreensaverProxy32.vcxproj.filters @@ -18,5 +18,9 @@ Source Files + + + + \ No newline at end of file diff --git a/ScreensaverProxy32/resource.h b/ScreensaverProxy32/resource.h new file mode 100644 index 0000000..7f25b19 --- /dev/null +++ b/ScreensaverProxy32/resource.h @@ -0,0 +1,14 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by ScreensaverProxy32.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 diff --git a/WinMute/WinMute.cpp b/WinMute/WinMute.cpp index 874e9be..510d024 100644 --- a/WinMute/WinMute.cpp +++ b/WinMute/WinMute.cpp @@ -243,7 +243,7 @@ bool WinMute::Init() #ifdef _DEBUG WMLog::GetInstance().SetEnabled(true); #else - WMLog::GetInstance().SetEnabled(settings_.QueryValue(SettingsKey::LOGGING_ENABLED, 0)); + WMLog::GetInstance().SetEnabled(settings_.QueryValue(SettingsKey::LOGGING_ENABLED)); #endif log.Write(_T("Starting new session...")); diff --git a/WinMute/WinMute.rc b/WinMute/WinMute.rc index f4ef09c..f2e42b6 100644 --- a/WinMute/WinMute.rc +++ b/WinMute/WinMute.rc @@ -306,8 +306,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,9,9,1 - PRODUCTVERSION 1,9,9,1 + FILEVERSION 1,9,9,2 + PRODUCTVERSION 1,9,9,2 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -324,23 +324,23 @@ BEGIN BEGIN VALUE "CompanyName", "LX-Systems" VALUE "FileDescription", "WinMute" - VALUE "FileVersion", "1.9.9.1" + VALUE "FileVersion", "1.9.9.2" VALUE "InternalName", "WinMute.exe" VALUE "LegalCopyright", "Copyright (C) 2022, Alexander Steinhöfer" VALUE "OriginalFilename", "WinMute.exe" VALUE "ProductName", "WinMute" - VALUE "ProductVersion", "1.9.9.1" + VALUE "ProductVersion", "1.9.9.2" END BLOCK "040704b0" BEGIN VALUE "CompanyName", "LX-Systems" VALUE "FileDescription", "WinMute" - VALUE "FileVersion", "1.9.9.1" + VALUE "FileVersion", "1.9.9.2" VALUE "InternalName", "WinMute.exe" VALUE "LegalCopyright", "Copyright (C) 2022, Alexander Steinhöfer" VALUE "OriginalFilename", "WinMute.exe" VALUE "ProductName", "WinMute" - VALUE "ProductVersion", "1.9.9.1" + VALUE "ProductVersion", "1.9.9.2" END END BLOCK "VarFileInfo" -- 2.43.0