XLL+ Class Library (6.3)

CXllApp::GetVersionInfoA

Return the version info of the XLL, including version number, copyright and build information.

static CStringA GetVersionInfoA(
   const char* pszItem
);

Parameters

pszItem

The name of the item of version information requested. This may be one of:

CompanyName
FileDescription
FileVersion
InternalName
LegalCopyright
LegalTrademarks
OriginalFilename
ProductName
ProductVersion

Return Value

A string containing the version information requested. If none was found, the string will be empty.

Remarks

This function returns an item from the version information built into the XLL. This is the same information you can see in the Properties dialog of NT Explorer.

Since this function is static, it is not necessary to use an instance of CXllApp to invoke it. You can use code such as:

CXlOper xloResult;
xloResult = CXllApp::GetVersionInfo("FileVersion");

Requirements

Header: xllplus.h

See Also

CXllApp Class | CXllApp Methods