In this figure the COM client (a MATLAB application) communicates with a COM server (in-process server) via an IDispatch or custom interface.