XLL+ Class Library

HandleAPI Sample

Remarks

This project demonstrates the use of object handles in an XLL+ add-in.

For more details see Object handles using pointers in the User Guide.

Functions used

CXllApp::SetSinkEvents
CXllApp::SetComEventHandler
CXlFormulaRefresh::RefreshAllWorkbooks
CXlFormulaRefresh::RefreshWorkbook
CXlHandleStore<T, S>
CXlHandleStore<T, S>::ObjectFromHandle
CXlHandleStore<T, S>::AddObjectHandle
CXlHandleStore<T, S>::Clear
::XllGetTypedApp

Project files

If you are using MS Developer Studio 6, then you should open the project file HandleAPI.dsp.

If you are using MS Visual Studio .NET 2002, then you should open the solution file HandleAPI.sln or the project file HandleAPI.vcproj.

If you are using MS Visual Studio .NET 2003, then you should open the solution file HandleAPI71.sln or the project file HandleAPI71.vcproj.

If you are using MS Visual Studio 2005, then you should open the solution file HandleAPI8.sln or the project file HandleAPI8.vcproj.

See Also

List of Sample Projects | Samples and Walkthroughs | Object handles using pointers