Currently we only support registration free COM. This is mainly because we don't have code to implement the COM registration in registry.
#[com_library] attribute should expand the DllRegisterServer and DllUnregisterServer implementations to write the necessary bits into registry during regsvr32 call.
Expand DllRegisterServer and DllUnregisterServer during #[com_library] expansion.
The #[com_library] gains only the class names from the attribute list. If we need interface names as well during the DllRegisterServer/DllUnregisterServer then we need the #[com_class] to expand into DllRegisterServer_Xyz or similar functions that DllRegisterServer delegates to.
Currently we only support registration free COM. This is mainly because we don't have code to implement the COM registration in registry.
#[com_library]
attribute should expand theDllRegisterServer
andDllUnregisterServer
implementations to write the necessary bits into registry duringregsvr32
call.DllRegisterServer
andDllUnregisterServer
during#[com_library]
expansion.#[com_library]
gains only the class names from the attribute list. If we need interface names as well during theDllRegisterServer
/DllUnregisterServer
then we need the#[com_class]
to expand intoDllRegisterServer_Xyz
or similar functions thatDllRegisterServer
delegates to.