HomeProductsCookbookPhotosProgrammingAdminKBBrewLinksSearch

CVersionInfo


CVersionInfo is a wrapper class for the TEXTINFO API's. It allows you to easily access any of the version resources. If you specify no arguments to the constructor, CVersionInfo supplies version information for the current process, US English, Windows Multilingual.

Usage:

    #include "version.h"
    CFileInfo info;
    TRACE("Name=%s\n", info.GetInternalName())
    TRACE("ProductVersion=%s\n", info.GetProductVersion())
    

[code][header]


Public Members:

CVersionInfo(LPCSTR szFileToVersion = NULL, LPCSTR szLanguage = "0409", LPCSTR szCodepage = "04e4");
CString GetFileVersion();
CString GetCompanyName();
CString GetFileDescription();
CString GetInternalName();
CString GetLegalCopyright();
CString GetOriginalFilename();
CString GetProductVersion();
CString GetComments();
CString GetSpecialBuild();
CString GetPrivateBuild();



Please send any comments or suggestions to grimmd@oocities.com