Chapter 5. COM Servers

A Review of COM Servers

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.[1]

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) ...

Get ATL Internals: Working with ATL 8, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.