Solved

BRCC32 messing up Version Info

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

744 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

11 Experts available now in Live!

Get 1:1 Help Now