Solved

BRCC32 messing up Version Info

Posted on 2007-03-23
1
772 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

919 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now