AndyChamp
06-08-2005, 09:23 AM
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?
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?