FB 4.1.0.199 Resource Creation Error

Ever since updating FB4 to 4.1.0.199 I cannot compile any of my Delphi2006 win32projects. I can compile it in the IDE with no problem. All I get inthe FB log is:

--------------------------------------

Running Borland Resource compiler…
Borland Resource Compiler Version 5.40
Copyright © 1990, 1999 Inprise Corporation. All rights reserved.

Error Update.rc 4 16: Expecting BEGIN

--------------------------------------

I have tracked it down to the fact that I use letters in the “ProductVersion” section of the version information screen. (eg. BRG). It had worked in previous versions of FB4. (And it does work in the Delphi 2006 IDE).

I cannot seem to attach the .rc file that FB4 generates so I have pasted it here. It gives the same error when run through brcc32.exe.

------------------------------
MAINICON ICON "D:\Devs\Server\Tasks\Update\mainicon.ico"
1 VERSIONINFO
FILEVERSION 2,4,1,2
PRODUCTVERSION DGHMS
FILEFLAGSMASK 0x3FL
FILEFLAGS 0x00L
FILEOS 0x40004L
FILETYPE 0x2L
FILESUBTYPE 0x0L
BEGIN
BLOCK “StringFileInfo”
BEGIN
BLOCK “040904E4”
BEGIN
VALUE “CompanyName”, “A Software Inc.\0”
VALUE “FileVersion”, “2.4.1.2\0”
VALUE “LegalCopyright”, “copyright 2006 A Software Inc.\0”
VALUE “ProductVersion”, “DGHMS\0”
VALUE “CompileDate”, “Saturday, May 20, 2006 10:27 PM\0”
END
END
BLOCK “VarFileInfo”
BEGIN
VALUE “Translation”, 0x0409, 1252
END
END
------------------------------

If it is possible to get this working again for the next release, I would appreciate this as our auto-updating tools rely on this information.

Thanks

Dave Stephenson

Hi David,

This has been fixed… here’s the latest test build:
https://www.finalbuilder.com/downloads/finalbuilder/410/FB410_228.exe

.t8