Partager via


Registry Macros

These macros define useful type library and registry facilities.

_ATL_STATIC_REGISTRY

Indicates that you want the registration code for your object to be in the object to avoid a dependency on ATL.DLL.

DECLARE_LIBID

Provides a way for ATL to obtain the libid of the type library.

DECLARE_NO_REGISTRY

Avoids default ATL registration.

DECLARE_REGISTRY

Enters or removes the main object's entry in the system registry.

DECLARE_REGISTRY_APPID_RESOURCEID

Specifies the information required to automatically register the appid.

DECLARE_REGISTRY_RESOURCE

Finds the named resource and runs the registry script within it.

DECLARE_REGISTRY_RESOURCEID

Finds the resource identified by an ID number and runs the registry script within it.

See Also

Other Resources

ATL Macros