954,499 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Reading back Application Version

Hi All,

I want to set the version number of my application and show it in my form. Going through some forums, I read that I had to implement 'Version' in my resource file, so that's what I did. But... after setting the version in the resourcefile to 0.0.0.99 and reading it back with Application::get_ProductVersion I still get 1.0.0.0 returned.
Also setting the version in the project properties->Linker->General to version 0.0.0.99 keeps giving me version number 1.0.0.0.

What am I doing wrong. I'm using in VS2003 ?


Thanks in advance.

disc
Light Poster
29 posts since Sep 2006
Reputation Points: 10
Solved Threads: 1
 

Watch out for more entries that say Version in your *.rc file and change them all to the Version you want. That works for VC++ 6 maybe it still works in the newer versions.

replic
Light Poster
47 posts since Nov 2008
Reputation Points: 27
Solved Threads: 6
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You