https://fmplugins.idma.nz/index.php?title=Adding_Windows_Version_Info&feed=atom&action=history
Adding Windows Version Info - Revision history
2024-03-29T10:13:38Z
Revision history for this page on the wiki
MediaWiki 1.27.1
https://fmplugins.idma.nz/index.php?title=Adding_Windows_Version_Info&diff=93&oldid=prev
Admin: New page: By default, the FM 7 API doesn't add the 'Version' information to the compiled plugin on windows. You can include this by copying from the FM5.5 API the Version Info. Add the following ...
2007-07-11T21:09:10Z
<p>New page: By default, the FM 7 API doesn't add the 'Version' information to the compiled plugin on windows. You can include this by copying from the FM5.5 API the Version Info. Add the following ...</p>
<p><b>New page</b></p><div>By default, the FM 7 API doesn't add the 'Version' information to the compiled plugin on windows. You can include this by copying from the FM5.5 API the Version Info.<br />
<br />
<br />
Add the following lines into the 'FMPluginExample.rc' file on windows. I put it just before the first 'STRINGTABLE'<br />
<br />
Replace the 1,0,1,0 and 1.01 with your current version info.<br />
<br />
Replace 'IDMA' with your product name.<br />
<br />
I was unable to remove any of the 'VALUE' lines without breaking the version functionality. I suspect it's tied to the BLOCK line, but didn't investigate further.<br />
<br />
<br />
1 VERSIONINFO<br />
FILEVERSION 1,0,1,0<br />
PRODUCTVERSION 5,5,3,0<br />
FILEFLAGSMASK 0x3fL<br />
FILEFLAGS 0x20L<br />
FILEOS 0x4L<br />
FILETYPE 0x1L<br />
FILESUBTYPE 0x0L<br />
BEGIN<br />
BLOCK "StringFileInfo"<br />
BEGIN<br />
BLOCK "040904e4"<br />
BEGIN<br />
VALUE "CompanyName", "IDMA.\0"<br />
VALUE "FileDescription", "IDMA Plug-in\0"<br />
VALUE "FileVersion", "1.01 14/07/07\0"<br />
VALUE "InternalName", "IDMA_Plugin\0"<br />
VALUE "LegalCopyright", "© IDMA, 2007\0"<br />
VALUE "OriginalFilename", "IDMA_Plugin.fmx\0"<br />
VALUE "ProductName", "IDMA Plugin\0"<br />
VALUE "ProductVersion", "1.01 14/07/2007\0"<br />
VALUE "SpecialBuild", "<20050714>\0"<br />
END<br />
END<br />
BLOCK "VarFileInfo"<br />
BEGIN<br />
VALUE "Translation", 0x409, 1252<br />
END<br />
END</div>
Admin