473,320 Members | 2,147 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

borland C++ VERSIONINFO error

I'm compiling an application with a Borland C++ compiler. We use the
VERSIONINFO in the rc files to store product information.

VS_VERSION_INFO VERSIONINFO
FILEVERSION 6,500,09,105
PRODUCTVERSION 6,500,09,105
FILEOS VOS__WINDOWS32
FILEFLAGS 0
FILETYPE VFT_APP
Note the 09 in the 3rd parameter of the FILEVERSION and
PRODUCTVERSION. If I leave this as 09 the compile fails with an
Expecting BEGIN error message. If I change this to a 07 then it works,
or if I change to a 10 it works. Why is this number octal? Is there
anyway around this as these numbers do have a meaning internally to
the business.

thanks,
Mark
Jul 19 '05 #1
2 3583

"Mark" <ho********@yahoo.com> wrote in message news:23**************************@posting.google.c om...

Note the 09 in the 3rd parameter of the FILEVERSION and
PRODUCTVERSION. If I leave this as 09 the compile fails with an
Expecting BEGIN error message. If I change this to a 07 then it works,
or if I change to a 10 it works. Why is this number octal?


This is really off topic, but I'd try deleting the leading 0. If the resource file behaves
like C++ literals 00...07 are valid integer literals (meaning octal 0..7) , 08 and 09 are
invalid. The leading zero in C++ means treat the rest as an octal number.

Alternatively, you can see if 011 encodes decimal 9 for you :-)
Jul 19 '05 #2
"Mark" <ho********@yahoo.com> wrote...
I'm compiling an application with a Borland C++ compiler. We use the
VERSIONINFO in the rc files to store product information.

VS_VERSION_INFO VERSIONINFO
FILEVERSION 6,500,09,105
PRODUCTVERSION 6,500,09,105
FILEOS VOS__WINDOWS32
FILEFLAGS 0
FILETYPE VFT_APP
Note the 09 in the 3rd parameter of the FILEVERSION and
PRODUCTVERSION. If I leave this as 09 the compile fails with an
Expecting BEGIN error message. If I change this to a 07 then it works,
or if I change to a 10 it works. Why is this number octal?
Any literal that begins with 0 and not 0x is octal.
Is there
anyway around this as these numbers do have a meaning internally to
the business.


If you need it to be 9, just say 9 or say 0x9.

Victor
Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Kenneth Gomez | last post by:
Hello, I have tried many avenues (web search, borland website, libxml website) before deciding to post here. I'm trying to install libxml2 on windows ME to work with my Borland C++ 5 Compiler...
6
by: John | last post by:
MSVC6 (SP5) gives this error when I try to use a non-pointer type to a class that is forward-referenced: reo.cpp(8) : error C2027: use of undefined type 'B' However Borland's free 5.5 compiler...
17
by: Ziggi | last post by:
Hi. I want to get a C++ IDE, but I dont know whether to go for Bill Gate's solution or Borland's. Could any kind folks detail the relative strength and weaknesses of both, and also tell me which...
4
by: NathanAllen | last post by:
First of all to let you know I am using the following compiler: Borland C++Builder 5.5.1 with Turbo Incremental Link 5.00 When I tried to make my first GUI drawing following Lawernceville Press's...
4
by: Dmytro Bablinyuk | last post by:
I have an old DOS serial communication program which I want to compile. The program I told was designed under Borland C 3.1 and therefore I am trying to compile it under Borland C 3.1. During...
1
by: Wayne... | last post by:
Is it possible to use VERSIONINFO in a static text control (I was going to replace the default one in the 'about' Dlg. I've managed to automate the build numbers and thought it would be a nice...
4
by: Rock | last post by:
I'm in the process of writing this program for complex numbers and I use DevC++. My professor on the other hand compiles on Borland 5.5. So I ocasionally save and run my work on Borland to see if...
1
by: Terry | last post by:
Is there any hope of using Borland Developer Studio 2006 to link in a DLL compiled by MS Visual C++ version 6? I have a Win32 DLL from a company named Vocera. The DLL defines C++ classes that I...
0
by: Glen Appleton | last post by:
I'm redesigning a file scanning application in C# (.Net 1.1) that was originally written VB6 and I'm having difficulty finding certain file object attributes that were available using the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.