DECLARE_STATIC_REGISTRY_RESOURCEID

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)

Obsolete ATL Topics