次の方法で共有


_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.

Syntax

#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

Registry Macros
ATL Macros
65A4379F-B5CB-4513-8DBD-CD6FF17122A6
DECLARE_REGISTRY_RESOURCE
27CFC841-15BD-45E7-8677-F7062B334DC9
DECLARE_REGISTRY_RESOURCEID