COM Handlers
The purpose of COM handlers is to provide some "smart" code in the client address space that can optimize calls between a client and server. Handlers can override some interfaces while delegating others directly to the server (through the proxy).
There are two types of COM handlers:
-
The OLE Handler is a heavyweight DLL that provides important services for linking and embedding. It is usually created before the server is launched, and is initialized so the server is activated when the embedded object enters the running state.
-
Lightweight Client-side Handlers, in contrast, can be created for any purpose, can be very small, if desired, and cannot be created before the server.