Executable file version information
Posted
by Steve Bryndin
on April 4th, 1999

CExecImageVersion class have following methods:
CString GetSpecialBuild(); CString GetPrivateBuild(); CString GetLegalTrademarks(); CString GetInternalName(); CString GetFileVersion(); CString GetFileDescription(); CString GetComments(); CString GetCopyright(); CString GetCompanyName(); CString GetProductVersion(); CString GetProductName();Declare instance of this class:
CExecImageVersion ver;OR
CExecImageVersion ver("yourexe.exe");
m_strCompany = ver.GetCompanyName();
m_strComment = ver.GetComments();
m_strCopy = ver.GetCopyright();
m_strFileDescr = ver.GetFileDescription();
m_strFileVer = ver.GetFileVersion();
m_strIntName = ver.GetInternalName();
m_strPrivBuild = ver.GetPrivateBuild();
m_strProductName = ver.GetProductName();
m_strProductVer = ver.GetProductVersion();
m_strSpecialBuild = ver.GetSpecialBuild();
m_strTrademarks = ver.GetLegalTrademarks();
Date Last Updated: April 4, 1999

Comments