XLL+ Class Library (7.0)

CXllPushApp::OnXllOpenEx

Called during application initialization

virtual BOOL OnXllOpenEx( );

Return Value

The method should return TRUE if initialization succeeded, FALSE if it failed.

Remarks

This virtual function should be implemented by any class descended from CXllPushApp. The method is called only once in the lifetime of an addin, when it is first opened.

It should always call the parent class implementation (CXllPushApp::OnXllOpenEx()) first, and return FALSE if it fails.

It should open any resources required by the application, such as database connections and data feeds. If any errors occur during such initialization, it should show an error message and then return FALSE to indicate failure.

Requirements

Header: xlppush.h

See Also

CXllPushApp Class | CXllPushApp Methods | CXllApp::OnXllOpenEx() | CXllPushApp::OnXllClose() | Steps to create an asynchronous add-in