[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Beginning with ATL 2.0, the DECLARE_STATIC_REGISTRY_RESOURCEID macro is obsolete. To statically link to the Registrar, you specify the #define _ATL_STATIC_REGISTRY statement in stdafx.h and use the DECLARE_REGISTRY_RESOURCEID macro.
For backward compatibility, ATL defines the following:
#define DECLARE_STATIC_REGISTRY_RESOURCEID(x) DECLARE_REGISTRY_RESOURCEID(x)