summaryrefslogtreecommitdiff
path: root/plugins/HistoryPlusPlus
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-27 17:38:35 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-27 17:38:35 +0300
commitc9d1f394e5b44fcfab5ae7ef25006779516f03ff (patch)
treefb0d4441c29c3afa795b231565798d3cf27d5a10 /plugins/HistoryPlusPlus
parentc3766cdea1f52ee6f5d774a840f2f0d70c97386a (diff)
PRODUCTVERSION of any version resource to contain the number of current build
Diffstat (limited to 'plugins/HistoryPlusPlus')
-rw-r--r--plugins/HistoryPlusPlus/historypp.dpr2
-rw-r--r--plugins/HistoryPlusPlus/historypp.dproj3
-rw-r--r--plugins/HistoryPlusPlus/hpp_res_ver.rc28
-rw-r--r--plugins/HistoryPlusPlus/version.rc53
4 files changed, 54 insertions, 32 deletions
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 @@
<RcCompile Include="hpp_resource.rc">
<Form>hpp_resource.res</Form>
</RcCompile>
- <RcCompile Include="hpp_res_ver.rc">
- <Form>hpp_res_ver.res</Form>
- </RcCompile>
<RcCompile Include="hpp_opt_dialog.rc">
<Form>hpp_opt_dialog.res</Form>
</RcCompile>
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
+/////////////////////////////////////////////////////////////////////////////