From c9d1f394e5b44fcfab5ae7ef25006779516f03ff Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 27 May 2018 17:38:35 +0300 Subject: PRODUCTVERSION of any version resource to contain the number of current build --- plugins/HistoryPlusPlus/historypp.dpr | 2 +- plugins/HistoryPlusPlus/historypp.dproj | 3 -- plugins/HistoryPlusPlus/hpp_res_ver.rc | 28 ----------------- plugins/HistoryPlusPlus/version.rc | 53 +++++++++++++++++++++++++++++++++ 4 files changed, 54 insertions(+), 32 deletions(-) delete mode 100644 plugins/HistoryPlusPlus/hpp_res_ver.rc create mode 100644 plugins/HistoryPlusPlus/version.rc (limited to 'plugins/HistoryPlusPlus') diff --git a/plugins/HistoryPlusPlus/historypp.dpr b/plugins/HistoryPlusPlus/historypp.dpr index 6f5a19d9da..65486f3248 100644 --- a/plugins/HistoryPlusPlus/historypp.dpr +++ b/plugins/HistoryPlusPlus/historypp.dpr @@ -26,7 +26,7 @@ library historypp; {$IMAGEBASE $02630000} {$R 'hpp_resource.res' 'hpp_resource.rc'} -{$R 'hpp_res_ver.res' 'hpp_res_ver.rc'} +{$R 'hpp_res_ver.res'} {$R 'hpp_opt_dialog.res' 'hpp_opt_dialog.rc'} uses diff --git a/plugins/HistoryPlusPlus/historypp.dproj b/plugins/HistoryPlusPlus/historypp.dproj index 311d51f48a..e0335145d5 100644 --- a/plugins/HistoryPlusPlus/historypp.dproj +++ b/plugins/HistoryPlusPlus/historypp.dproj @@ -148,9 +148,6 @@
hpp_resource.res
- -
hpp_res_ver.res
-
hpp_opt_dialog.res
diff --git a/plugins/HistoryPlusPlus/hpp_res_ver.rc b/plugins/HistoryPlusPlus/hpp_res_ver.rc deleted file mode 100644 index b8b6e1929d..0000000000 --- a/plugins/HistoryPlusPlus/hpp_res_ver.rc +++ /dev/null @@ -1,28 +0,0 @@ -1 VERSIONINFO -FILEVERSION 1, 5, 1, 5 -PRODUCTVERSION 1, 5, 1, 5 -FILEFLAGSMASK VS_FFI_FILEFLAGSMASK -FILEOS VOS__WINDOWS32 -FILETYPE VFT_DLL -{ - BLOCK "StringFileInfo" - { - BLOCK "000004b0" - { - VALUE "CompanyName", "Miranda Open Source Project\000" - VALUE "FileDescription", "History++ plugin for Miranda NG\000" - VALUE "FileVersion", "1.5.1.5\000" - VALUE "InternalName", "historypp\000" - VALUE "LegalCopyright", "© 2006-2009 theMIROn, 2003-2006 Art Fedorov.\000" - VALUE "LegalTrademarks", "Gnu General Public License V2\000" - VALUE "OriginalFilename", "historypp.dll\000" - VALUE "ProductName", "History PlusPlus Module\000" - VALUE "ProductVersion", "1.5.1.5\000" - VALUE "Comments", "Easy, fast and feature complete history viewer\000" - } - } - BLOCK "VarFileInfo" - { - VALUE "Translation", 0x0, 1200 - } -} \ No newline at end of file diff --git a/plugins/HistoryPlusPlus/version.rc b/plugins/HistoryPlusPlus/version.rc new file mode 100644 index 0000000000..18dbb1b90c --- /dev/null +++ b/plugins/HistoryPlusPlus/version.rc @@ -0,0 +1,53 @@ +// Microsoft Visual C++ generated resource script. +// +#ifdef APSTUDIO_INVOKED +#error this file is not editable by Microsoft Visual C++ +#endif //APSTUDIO_INVOKED + +#include "..\..\include\m_version.h" + +///////////////////////////////////////////////////////////////////////////// +// English (U.S.) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +#ifdef _WIN32 +#pragma code_page(1252) +#endif //_WIN32 + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 1,5,1,5 + PRODUCTVERSION MIRANDA_VERSION_FILEVERSION + FILEFLAGSMASK 0x17L +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "000004b0" + BEGIN + VALUE "CompanyName", "Miranda Open Source Project\000" + VALUE "FileDescription", "History++ plugin for Miranda NG\000" + VALUE "FileVersion", "1.5.1.5\000" + VALUE "InternalName", "historypp\000" + VALUE "LegalCopyright", "© 2006-2009 theMIROn, 2003-2006 Art Fedorov.\000" + VALUE "LegalTrademarks", "Gnu General Public License V2\000" + VALUE "OriginalFilename", "historypp.dll\000" + VALUE "ProductName", "History PlusPlus Module\000" + VALUE "ProductVersion", "1.5.1.5\000" + VALUE "Comments", "Easy, fast and feature complete history viewer\000" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x0, 1200 + END +END + +#endif // English (U.S.) resources +///////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3