1 VERSIONINFO
FILEVERSION 3,2,1,0
PRODUCTVERSION 3,2,1,0
FILEOS 0x4
FILETYPE 0x1
{
BLOCK "StringFileInfo"
{
BLOCK "040904E4"
{
VALUE "CompanyName", "TSW Solutions, Inc."
VALUE "FileDescription", "Storeworks"
VALUE "FileVersion", "3.2.1.0"
VALUE "InternalName", "Storeworks"
VALUE "LegalCopyright", "TSW Solutions, Inc."
VALUE "LegalTrademarks", ""
VALUE "OriginalFilename", "Storeworks.exe"
VALUE "ProductName", "Storeworks"
VALUE "ProductVersion", "3.02.01"
VALUE "Comments", ""
}
}
BLOCK "VarFileInfo"
{
VALUE "Translation", 0x0409 0x04E4
}
}
I'm getting this result in the RES file:
1 VERSIONINFO
FILEVERSION 3,2,1,0
PRODUCTVERSION 3,2,1,0
FILEOS 0x4
FILETYPE 0x1
{
BLOCK "StringFileInfo"
{
BLOCK "040904E4"
{
VALUE "CompanyName", "TSW Solutions, Inc."
VALUE "FileDescription", "Storeworks. FileVersion"
VALUE "FileVersion", "3.2.1.0"
VALUE "InternalName", "StoreworksJ LegalCopyright"
VALUE "LegalCopyright", "TSW Solutions, Inc."
VALUE "LegalTrademarks", ""
VALUE "OriginalFilename", "Storeworks.exe4
ProductName"
VALUE "ProductName", "Storeworks2 ProductVersion"
VALUE "ProductVersion", "3.02.01"
VALUE "Comments", ""
}
}
BLOCK "VarFileInfo"
{
VALUE "Translation", 0x0409 0x04E4
}
}
Needless to say it looks very wierd in my Version info properties.
What am I doing wwrong?
Nul terminate your strings - "CompanyName", "TSW Solutions, Inc.\0"
and shouldn't that first line be
VS_VERSION_INFO VERSIONINFO
Gordon
--
MGCSoft Graphical and equation editors
http://www.mgcsoft.com/
Try finishing all your alphanumeric VALUE entries with \000
DUH!!
--
> VS_VERSION_INFO VERSIONINFO
Any idea why my version info is not updated when I use this syntax:
{$R C:\Storeworks\version.res C:\Storeworks\version.rc}
I only changed the rc file, I did not recompile using brcc32.
I was under the impression that the IDE recompiled the resource when
using this syntax.
--