_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