Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-08-2005, 09:23 AM
AndyChamp
Guest
 
Posts: n/a
Angry Delphi Versions incorrect?

I'm building a project that includes a Delphi 5 .dpr file. I want to update the version. I've gone to the versions tab, and selected "Set the project version to a specific value" - It's 8.01.00.0524 today. I'm updating both the file and project verions. When I examine the resources after the compile with Visual Studio .net 2003's resource editor, I see that the file and product *text* versions are set correctly, but the *binary* versions are both set to 8,1,0,340. This had me really puzzled for a while, until I realised that to a C programmer 0524 represents an octal constant with the equivalent decimal value being 340!

A little more poking showed that if the number has an 8 or 9 in it, the compile fails, and if I omit the leading zero the binary number comes out correctly. This looks like a VBP problem to me - comments?
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 12:08 AM.


Copyright © 1999-2023 Kinook Software, Inc.