XLL+ Class Library (6.3)

CXllApp::AddStaticFns

Adds the XLL's functions to the global list of Excel add-in functions to be registered

int AddStaticFns( );

Return Value

Returns the number of functions collected.

Remarks

Collects all XLLFN structures that have been declared with the macros IMPLEMENT_XLLFN_EX, IMPLEMENT_XLLFN and IMPLEMENT_XLLFN2 and adds them to the CXllApp object's function map.

This function must be called by the InitInstance() virtual function. In the skeleton code written by the XLL Plus AppWizard, it is.

Note that this function does not actually register the add-in functions with Excel. This is delayed until the XllLoad event, which is called by Excel when the XLL is loaded.

Requirements

Header: xllplus.h

See Also

CXllApp Class | CXllApp Methods | CXllApp::InitInstance() | CXllApp::PrefixFunctions()