Return the version info of the XLL, including version number, copyright and build information.
[C++]
static CString GetVersionInfo(
const char* pszItem
);
The name of the item of version information requested. This may be one of:
A string containing the version information requested. If none was found, the string will be empty.
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.
It is not therefore necessary to fix the MFC CWinApp instance using the XLL_FIX_STATE macro:
you can use code such as:
CXlOper xloResult;
xloResult = CXllApp::GetVersionInfo("FileVersion");
Header: xllplus.h