XLL+ Class Library

HandleAPICached Sample

Remarks

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

For more details see Object handles using references and cached data 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 HandleAPICached.dsp.

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

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

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

See Also

List of Sample Projects | Samples and Walkthroughs | Object handles using references and cached data