XLL+ Class Library

Function attribute: appscope

The appscope attribute controls whether a function includes the following line:

XLL_FIX_STATE;

This macro is required (in the MFC builds only) for all functions that use application-level data.

You can control the value of the attribute with the Uses Application-level Data command on the Function menu of the XLL+ AppWizard. This item also appears on the drop-down menu of the Edit Function Attributes tool-button.

You can also edit the value for the current function in the Edit Function Attributes window. The window can also be used to set the default value of the attribute, which will be applied to all new functions.

See Also

Function Wizard | Uses Application-level Data command | ::XLL_FIX_STATE