Solved

BRCC32 messing up Version Info

Posted on 2007-03-23
1
775 Views
Last Modified: 2008-03-28
When compiling this RC:

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 (opened in ResHacker):


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", "StoreworksJLegalCopyright"
            VALUE "LegalCopyright", "TSW Solutions, Inc."
            VALUE "LegalTrademarks", ""
            VALUE "OriginalFilename", "Storeworks.exe4
ProductName"
            VALUE "ProductName", "Storeworks2ProductVersion"
            VALUE "ProductVersion", "3.02.01"
            VALUE "Comments", ""
      }
}

BLOCK "VarFileInfo"
{
      VALUE "Translation", 0x0409 0x04E4
}
}

I have no idea what those  chars are or where they are coming from.
Needless to say it looks very wierd in my Version info properties when selecting Properties
from Windows Explorer. What am I doing wrong?
0
Comment
Question by:EddieShipman
1 Comment
 
LVL 3

Accepted Solution

by:
jgbustos earned 500 total points
ID: 18781240
Hi,

Try finishing all your alphanumeric VALUE entries with \000

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.\000"
               VALUE "FileDescription", "Storeworks\000"
               VALUE "FileVersion", "3.2.1.0\000"
               VALUE "InternalName", "Storeworks\000"
               VALUE "LegalCopyright", "TSW Solutions, Inc.\000"
               VALUE "LegalTrademarks", ""
               VALUE "OriginalFilename", "Storeworks.exe\000"
               VALUE "ProductName", "Storeworks\000"
               VALUE "ProductVersion", "3.02.01\000"
               VALUE "Comments", ""
       }
}

BLOCK "VarFileInfo"
{
       VALUE "Translation", 0x0409 0x04E4
}
}
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Working with hours 3 58
Firemonkey DbLookupComboBox equivalent ? 2 47
Firemonkey allowing RTL on android 6 33
How to make Sign in, using Clientdataset? 1 19
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question