Tech Support > Microsoft Windows > Development Resources > Question about VS_VERSION_INFO
Question about VS_VERSION_INFO
Posted by Harald Collonia on August 4th, 2004


In VS6, the Resource Tab shows a Folder called Version, with information
like FILEVERSION and PRODUCTVERSION. How can I retrieve this info in my
program? For instance, how do I make the FILEVERSION to show up in a splash
screen?

The same question has been posted at
comp.os.ms-windows.programmer.tools.mfc. Not sure which is the correct group
for this.

Thanks in advance,
Harald


Posted by Severian on August 4th, 2004


On Wed, 04 Aug 2004 19:24:47 GMT, "Harald Collonia"
<Harald(nospam)collonia@yahoo.com> wrote:

GetFileVersionInfo()

--
Sev

Posted by Mike Weller on August 4th, 2004


Severian wrote:
The method I use for this sort of thing is a header file containing the
version in various different formats, one for the resource versions in
the 1,0,0,0 format, and others as strings etc. It's just a bit
simpler than calling API functions.

Posted by Simon on August 5th, 2004


I may be mistaken, but from memory I think this API throws exceptions,
so ensure to use try/catch around it.


Simon Hayden
http://www.AutoUpdatePlus.com
Get software updates to your clients the Quick and Easy way!
Latest Version ==========>>> Client Computer