Reoccurance of old bug

I previously had a problem with the resource compiler giving an error as detailed here:

https://www.finalbuilder.com/forums/finalbuilder/general-discussion/problem-generating-resources-in-fb7-0-0-993/#14648

Today on trying to build I had the same error message re-occur. I have tried with the most recent version of FB7 and still have the problem occuring - most recent error message as follows:

      Compiler selected is : C:\Program Files\Borland\Delphi7\\bin\dcc32.exe
      Generating Resource File....
      Including ICON File :S:\Delphi\Icons\acc.ico
       
        Borland Resource Compiler  Version 5.40
        Copyright (c) 1990, 1999 Inprise Corporation.  All rights reserved.
        Lines: Current 0, Total 0
        New File: FW_Accounts.rc
        Lines: Current 1, Total 0
        New File: S:\Delphi\ac\FW_Accounts.rc
        Lines: Current 1, Total 0
        Compiling ICON: MAINICON
        Lines: Current 3, Total 2
        Compiling VERSIONINFO: 1
       
        Error FW_Accounts.rc 4 21: Expecting BEGIN
        Resource Compile Failed.
 

The start of the .rc file is as follows:

MAINICON ICON "S:\Delphi\Icons\acc.ico"
1 VERSIONINFO
FILEVERSION 4,10,28,1
PRODUCTVERSION 4,10,028,1
FILEFLAGSMASK 0x3FL
FILEFLAGS 0x00L
FILEOS 0x40004L
FILETYPE 0x1L
FILESUBTYPE 0x0L

Any help would be appreciated.

We would need to see the FB Project file and the full generated .rc file to figure out the cause of this. Please send them to support@finalbuilder.com and we’ll take a look.

Project file, log file and .rc file sent to support