DECLARE_STATIC_REGISTRY_RESOURCE
Beginning with ATL 2.0, the DECLARE_STATIC_REGISTRY_RESOURCE 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_RESOURCE macro.
For backward compatibility, ATL defines the following:
#define DECLARE_STATIC_REGISTRY_RESOURCE(x)
DECLARE_REGISTRY_RESOURCE(x)
Requirements
Header: atlcom.h