| View previous topic :: View next topic |
| Author |
Message |
Hortalonus Valued Contributor


Joined: 15 Mar 2002 Posts: 344 Location: Western USA
|
Posted: Wed Jul 16, 2003 2:36 pm Post subject: No 0-9 version number limit |
|
|
In VDS 4 you could specify the major, minor, release and build version numbers up to 9999 (even though if you went too high you had to use a resource editor to adjust it over 211). In VDS 5, however, each one is limited to 0-9. Some people including myself and Prakash prefer to use the date of the compile in the version number and it's kind of hard to specify a compile done in October, November or December if the version numbers are limited to 0-9. We won't even mention the trouble with days of the month past the 9th...
Edit: Actually the major, minor and release fields are limited to 0-9... the build is limited to 999. Not any better if you use the build field for the full four digit year. _________________ "ah, come take my hand... we're ridin' out tonight to face the promised land"
Get a free iPod mp3 player...
Last edited by Hortalonus on Thu Jul 17, 2003 1:57 am; edited 1 time in total |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1566
|
Posted: Wed Jul 16, 2003 2:58 pm Post subject: |
|
|
| The version info resource writing seems very buggy. When I specify for instance: 1.3.5.2003, it writes it completely wrong and does: 1.3.5.27. Where the 27 comes from I have no idea. In fact you and I are not the only ones who do versioning this way, Microsoft in most cases does too or they use a similar method with versions ranging well over the 1000 level. |
|
| Back to top |
|
 |
LOBO Valued Contributor


Joined: 14 Mar 2002 Posts: 241 Location: Wilmington, Delaware, USA
|
Posted: Wed Jul 16, 2003 3:42 pm Post subject: |
|
|
I agree. I also use dating in my versions.
-Mark |
|
| Back to top |
|
 |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Thu Jul 17, 2003 1:43 am Post subject: |
|
|
that is bad news indeed because i too now use the year and the month in my version system...are there plans to get that "fixed"?
serge _________________
|
|
| Back to top |
|
 |
Hortalonus Valued Contributor


Joined: 15 Mar 2002 Posts: 344 Location: Western USA
|
Posted: Fri Sep 19, 2003 2:30 pm Post subject: |
|
|
I was wondering if this will be changed in the next update or not? Jules, are you at liberty to say?  _________________ "ah, come take my hand... we're ridin' out tonight to face the promised land"
Get a free iPod mp3 player... |
|
| Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Fri Sep 19, 2003 3:12 pm Post subject: |
|
|
I didn't write the version info code, so I can't comment on that. _________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Fri Sep 19, 2003 3:25 pm Post subject: |
|
|
| PGWARE wrote: | | When I specify for instance: 1.3.5.2003 |
How do you do that, when the IDE limits the last digit to 999? _________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
Hortalonus Valued Contributor


Joined: 15 Mar 2002 Posts: 344 Location: Western USA
|
Posted: Fri Sep 19, 2003 5:08 pm Post subject: |
|
|
VDS 5 is the only one that limits the input of the build number to 999... VDS 4 did not. However, I've always had to use Resource Hacker to adjust the version info because even though you could input 2003 as the build number in the IDE, it wouldn't set it to that in the compiled file. _________________ "ah, come take my hand... we're ridin' out tonight to face the promised land"
Get a free iPod mp3 player... |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1566
|
Posted: Fri Sep 19, 2003 5:26 pm Post subject: |
|
|
Yes the ability to specify longer values past 999 were allowed in VDS 4 which is what I meant But I think this had problems thus the reason 999 as the largest value was used? |
|
| Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Fri Sep 19, 2003 6:00 pm Post subject: |
|
|
Yes, there were problems but I can't exactly remember what they were. It looks as if the compiler supports larger numbers than the IDE spin edits will allow. I've increased the maximums to 255.255.255.9999 and it appears correctly when I look at the properties of the compiled EXE. If anyone is still using VDS 5 in the year 9999 I'll be surprised, and if anyone needs more than 9999 attempts to build a version of their program they should be thinking about taking up another occupation...  _________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
CodeScript Moderator Team

Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Fri Sep 19, 2003 6:22 pm Post subject: |
|
|
| Quote: | | and if anyone needs more than 9999 attempts to build a version of their program they should be thinking about taking up another occupation... |
 _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1566
|
Posted: Fri Sep 19, 2003 7:37 pm Post subject: |
|
|
I'll still be using VDS in the year 9999 I don't know about the rest of you  |
|
| Back to top |
|
 |
Hortalonus Valued Contributor


Joined: 15 Mar 2002 Posts: 344 Location: Western USA
|
Posted: Fri Sep 19, 2003 7:41 pm Post subject: |
|
|
| jules wrote: | | Yes, there were problems but I can't exactly remember what they were. It looks as if the compiler supports larger numbers than the IDE spin edits will allow. I've increased the maximums to 255.255.255.9999 and it appears correctly when I look at the properties of the compiled EXE. |
Thank you, thank you, thank you!!!
| jules wrote: | if anyone needs more than 9999 attempts to build a version of their program they should be thinking about taking up another occupation...  |
ROFL!!  _________________ "ah, come take my hand... we're ridin' out tonight to face the promised land"
Get a free iPod mp3 player... |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Fri Sep 19, 2003 8:13 pm Post subject: |
|
|
 _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
|