Share via


_ATL_STATIC_REGISTRY

A symbol that indicates you want the registration code for your object to be in the object to avoid a dependency on ATL.DLL.

#define _ATL_STATIC_REGISTRY

Remarks

When you define ATL_STATIC_REGISTRY, you should use the following code:

#ifdef _ATL_STATIC_REGISTRY
#include <statreg.h>
#endif

See Also

Reference

DECLARE_REGISTRY_RESOURCE

DECLARE_REGISTRY_RESOURCEID

Other Resources

Registry Macros

ATL Macros

DECLARE_STATIC_REGISTRY_RESOURCEID

DECLARE_STATIC_REGISTRY_RESOURCE