Thread: Build Number

  1. #1
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718

    Build Number

    How do you put build numbers in a MSVC++ project? I can't figure out how do to it automatically.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  2. #2
    Registered User moi's Avatar
    Join Date
    Jul 2002
    Posts
    946
    what do you want to do exactly? the preprocessor macros __DATE__ and __TIME__ expand into string literals of the date and time that the file is compiled.
    hello, internet!

  3. #3
    Me want cookie! Monster's Avatar
    Join Date
    Dec 2001
    Posts
    680
    I know it's possible in VB but in VC++ you only have version numbers. You can insert a version number by adding a resource called VERSION_INFORMATION_BLOCK (I'm not sure about the name). You can add (manually) the build number in this block.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. memory issue
    By t014y in forum C Programming
    Replies: 2
    Last Post: 02-21-2009, 12:37 AM
  2. Automatic build number on about page
    By ratte in forum C++ Programming
    Replies: 9
    Last Post: 01-04-2008, 05:23 AM
  3. adding a number to a number
    By bigmac(rexdale) in forum C Programming
    Replies: 11
    Last Post: 10-24-2007, 12:56 PM
  4. help with a source code..
    By venom424 in forum C++ Programming
    Replies: 8
    Last Post: 05-21-2004, 12:42 PM
  5. parsing a number
    By juancardenas in forum C Programming
    Replies: 1
    Last Post: 02-19-2003, 01:10 PM