XLL+ Class Library

xllplus.h

Overview

xllplus.h contains all the core classes and definition for XLL+ add-in projects.

The file is automatically included in the project files when the AppWizard creates the XLL+ project.

Classes

The table below lists the C++ object classes declared in the header file.

ClassDescription
CXllAppThe object representing the add-in library itself. It can be used to store data that is global to the library.
COperAn argument sent by Excel to an add-in function.
CXlOperA result sent back to Excel by an add-in function.
CXlRefA reference to a rectangular block of cells.
CXllFnA representation of a single add-in function.
CExcelWndAn MFC window class that provides access to the Excel application window.
CXlArrayAn array of floating-point numbers passed by or returned to Excel.
CXlBinaryNameDataA memory-managing data holder for BinaryName data.

Functions & Macros

The table below lists the principal functions and macros declared in the header file.

NameDescription
IMPLEMENT_XLLFN2Declare and describe an add-in function.
XllGetAppGet a pointer to the global data block.
XLL_FIX_STATEEnsure that global data is in scope (MFC calls only).