From 2335c2083a8e8f7e62121c9a343fe6c6ec0c0478 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 24 Oct 2017 15:25:44 +0300 Subject: unified version resource with explicitly stated language & code page --- plugins/StartupSilence/res/version.rc | 42 ++++++++++++++++++++++------------- 1 file changed, 26 insertions(+), 16 deletions(-) (limited to 'plugins/StartupSilence/res/version.rc') diff --git a/plugins/StartupSilence/res/version.rc b/plugins/StartupSilence/res/version.rc index 3718fa2306..8948616bb4 100644 --- a/plugins/StartupSilence/res/version.rc +++ b/plugins/StartupSilence/res/version.rc @@ -1,44 +1,54 @@ +// Microsoft Visual C++ generated resource script. +// #ifdef APSTUDIO_INVOKED #error this file is not editable by Microsoft Visual C++ #endif //APSTUDIO_INVOKED #include "..\src\version.h" -#include "winres.h" +#define APSTUDIO_READONLY_SYMBOLS +#include "afxres.h" +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// English (U.S.) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) #ifdef _WIN32 -LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US +#pragma code_page(1252) #endif //_WIN32 VS_VERSION_INFO VERSIONINFO FILEVERSION __FILEVERSION_STRING PRODUCTVERSION __FILEVERSION_STRING - FILEFLAGSMASK VS_FFI_FILEFLAGSMASK + FILEFLAGSMASK 0x17L #ifdef _DEBUG - FILEFLAGS VS_FF_DEBUG -//#else -// FILEFLAGS 0x0L + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L #endif - - FILEOS VOS__WINDOWS32 - FILETYPE VFT_DLL - FILESUBTYPE VFT2_UNKNOWN + FILEOS 0x4L + FILETYPE 0x2L + FILESUBTYPE 0x0L BEGIN BLOCK "StringFileInfo" BEGIN - BLOCK "000004b0" // LOCALE_NEUTRAL<<16 + 1200 (ANSI - Unicode) + BLOCK "000004b0" BEGIN VALUE "Author", __AUTHOR - VALUE "FileDescription", __DESC + VALUE "FileVersion", __VERSION_STRING VALUE "InternalName", __PLUGIN_NAME VALUE "LegalCopyright", __COPYRIGHT VALUE "OriginalFilename", __FILENAME - VALUE "FileVersion", __VERSION_STRING - VALUE "ProductName", "Miranda NG" - VALUE "ProductVersion", __VERSION_STRING + VALUE "ProductName", __PLUGIN_NAME END END BLOCK "VarFileInfo" BEGIN - VALUE "Translation", /*LOCALE_NEUTRAL from WinNT.h */ 0x0, 1200 + VALUE "Translation", 0x0, 1200 END END + +#endif // English (U.S.) resources +///////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3