After you create one or more COM classes, you need to package the classes and install them on a system. The package is called a COM Server, which is a dynamically activated collection of the implementations of one or more COM classes. Modern Win32 versions of COM enable you to create a COM server as an in-process (inproc) server (a dynamic link library), an out-of-process server (an executable), or, on the Windows NT/2000/XP/2003 operating system, a system service executable.
A COM server has three jobs, in addition to hosting the implementations of its classes:
• Register and unregister all classes in the server and, potentially, the server itself.
• Provide the COM Service Control Manager (SCM) ...