Solved

BRCC32 messing up Version Info

Posted on 2007-03-23
1
781 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

749 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