Initialise the CXllCom object
[C++]
BOOL Init(
CString& strError,
HRESULT& hr
);
If an error occurs, a description will be placed in this string.
If a COM error occurs, the error code will be placed here.
Returns TRUE if successful and FALSE if initialisation failed.
The values of the strError and (optionally) hr parameters will be set on failure.
Initialises a connection to Excel's COM interface.
This method must be called before any other CXllCom methods can be used.
It is advisable to call it during CXllApp::OnXllOpenEx().
Header: xlpcom.h