1. hkey_classes_root
1> the CLSID subkey records all COM component information:
A> the inprocserver32 sub-Key of the CLSID sub-Key of the (in-process component) OBJECT records the full path File Name of the component program;
The localserver32 sub-Key of the CLSID sub-Key of the (out-of-process component) OBJECT records the full path File Name of the component program;
B> the progid (Program identifier, program identifier) of the CLSID subkey defines the string name of the component.
2> the component string name can be placed directly under the CLSID subkey.
The string name of the component. The clsid sub-Key of the sub-key records the CLSID of the component.
3> the interface subkey records the Component Interface Information:
For example, proxystubclsid32
4> the typelib subkey records the type library information.
Component Objects are categorized by whether the same group of interfaces is supported. Each category has its catid,
The implemented categories sub-Key of the CLSID sub-key records its catid
Component categories includes all categories
Use oleview.exe to view categories
Ii. Component registration,
In-process components must implement the dllregisterserver function and the dllunregisterserver function to add/delete relevant information to the Registry, and then use the regsvr32.exe utility for registration;
Components outside the process must implement the command line parameter/regserver and/unregserver to add/delete relevant information to/from the registry.