COM + component Registration Method
You can register components in either of the following ways:
One is to use regsvr32.exe:
For example, run regsvr32.exe c: \ test. DLL to register test. dll in the C: root directory.
The other is to register in MTS (Microsoft Transaction Server. MTS is recommended because it has the following advantages:
1. dynamically offload balance to improve components and component-based applicationsProgram.
2. includes the ability to publish and submit events and queue components, making it easier to work with multiple components.
This article describes in detail how to register COM + components in MTS:
Step 1:
[Start Menu] → [Program] → [management tools] → [component services]
Step 2:
When a window appears, Component Service → computer → my computer → COM + QC dead letter queue listener two options are displayed: component and role, right-click the component and choose new> component]
Step 3:
Click Next. In the following window, select install new component ]:
Step 4:
Select the component to be installed (*. dll) → open ]:
Step 5:
Click Next and select finish.
Step 6:
The component is successfully registered, as shown in: