web analytics

How to Register and Unregister a COM server?

Options

davegate 143 - 921
@2016-01-11 18:40:06

Out-of-process COM servers adhere to the COM convention of using /RegServer and /UnregServer command line options to perform their registration and unregistration actions. When started with one of these options, the server is supposed to run invisibly and to terminate immediately after completing the (un-)registration.

<COM server exe file> /regserver

<COM server exe file> /unregserver
@2016-01-11 18:41:43

In-process COM servers have DllRegisterServer and DllUnregisterServer entry points that perform registration and unregistration upon request. You can use Microsoft Windows regsvr32.exe utility to register and unregister an in-process COM server

regsvr32.exe <COM server dll file>

regsvr32.exe -u <COM server dll file>

Comments

You must Sign In to comment on this topic.


© 2024 Digcode.com