XLL+ Class Library

CXllApp::AddStaticFns

Register the XLL's functions as Excel add-in functions

[C++]
short AddStaticFns();

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.

Example

Requirements

Header: xllplus.h

See Also

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