XLL+ Class Library (7.0)

Queued Sample

Demonstrates the use of queued asynchronous functions

Overview

This add-in demonstrates the use of queued asynchronous functions.

Shared resource

The add-in makes use of a shared resource, implemented as a single global instance of CSharedResource. This class is derived from CXlLockable and is used in a thread-safe manner, by calling the method UseResource().

For a full discussion of queued functions, refer to the topic Queued functions in the XLL+ User Guide.

Classes and functions used

CXlLockable | CXlLock

Sample project

Each sample project is located in a sub-directory of the Samples directory of the XLL+ installation. To use the sample project, open the solution file Queued.sln or the project file Queued.vcproj.

You can enable debugging under Excel by using the Setup Debugging command in the XLL+ ToolWindow.

When delivered, the help files are excluded from the build. You can enable the help build by selecting the files Queued.help.xml and Queued.chm in the Solution Explorer, and using the right-click menu to view Properties. Select the page "Configuration Properties/General" and set the "Excluded from build" property to "No". See Generating help in the User Guide for more information.

See Also

List of Sample Projects | Queued functions