Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 2007
    Posts
    59

    Why the last digit in File Version is changed?

    Dear friends,
    When I use a digit with more than 6 character in 4th part of Publish -> Settings -> Resources -> File Version field, my digit is changed to a unknown digit. For example, when I used 1.2.0.#CURRENTYEAR##CURRENTMONTH2##CURRENTDAY# for it, the setup file version was 1.2.0.722 instead of 1.2.0.2008099 or when I used 1.2.0.123456, I received 1.2.0.57920

    I didn't found any description for it in Help file.

    Regards

  2. #2
    Join Date
    Apr 2005
    Location
    São Paulo, Brazil
    Posts
    2,539
    The largest number you can store in each of these fields is 65535.

    Ulrich

  3. #3
    Join Date
    Jun 2007
    Posts
    59
    Quote Originally Posted by upeters View Post
    The largest number you can store in each of these fields is 65535.

    Ulrich
    Thanks for your reply. But where is the number come from? When I enter 1.2.0.123456, I think I must receive 1.2.0.12345. That's right?

  4. #4
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,863
    Quote Originally Posted by searcher123 View Post
    Thanks for your reply. But where is the number come from? When I enter 1.2.0.123456, I think I must receive 1.2.0.12345. That's right?
    It probably "rolls over" since 123456 is larger than allowed.

    It's not random -- it's just binary.


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

  5. #5
    Join Date
    Jun 2007
    Posts
    59
    Quote Originally Posted by jassing View Post
    It's not random -- it's just binary.
    Hmmm, I'm sorry, but I can not understand it yet The binary of what? 123456 in binary will be extreme!

    I know 57920 is not random, because every time I enter 123456, SF9 convert it to 57920, but I can not duplicate it on paper. What is the logic laied behind the converting? What formulation SF8 is used?

    Regards
    Last edited by searcher123; 09-10-2008 at 04:03 PM.

  6. #6
    Join Date
    Apr 2005
    Location
    São Paulo, Brazil
    Posts
    2,539
    Open the Calculator shipped with Windows, and switch to scientific view. In decimal mode, enter the number 123456. Then switch to hexadecimal mode, and you'll see that the same number is represented as 1E240.

    The largest number you can store can have only four hexadecimal digits (FFFF), and the most significant part (everything to the left) is cut off (this is called "overflow"). In your case, what remains is E240. Delete the "1" or type "E240", and switch back to decimal mode, you'll see that the result is 57920.

    Ulrich
    Last edited by Ulrich; 09-10-2008 at 04:14 PM.

  7. #7
    Join Date
    Jun 2007
    Posts
    59
    Quote Originally Posted by upeters View Post
    Open the Calculator shipped with Windows, and switch to scientific view. In decimal mode, enter the number 123456. Then switch to hexadecimal mode, and you'll see that the same number is represented as 1E240.

    The largest number you can store can have only four hexadecimal digits (FFFF), and the most significant part (everything to the left) is cut off (this is called "overflow"). In your case, what remains is E240. Delete the "1" or type "E240", and switch back to decimal mode, you'll see that the result is 57920.

    Ulrich
    WOW, I understand it now
    My mistake was because I was deleted additional numbers from right, where x386 processors calculate in reverse.

    Thanks for answer

Similar Threads

  1. Replies: 3
    Last Post: 05-20-2008, 11:10 AM
  2. New product version, old project file: what about the component GUIDs?
    By ruuska in forum MSI Factory 2.0 Discussion
    Replies: 6
    Last Post: 04-11-2008, 12:12 PM
  3. Unable to find software?
    By NigelLacey in forum Visual Patch 2.0
    Replies: 4
    Last Post: 10-11-2005, 10:35 AM
  4. New Setup Factory 7.0 (v 7.0.2.0) Available
    By Darryl in forum Setup Factory 7.0
    Replies: 9
    Last Post: 03-06-2005, 01:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts