An out-of-proc COM server is a COM object that is an executable (.exe) that runs in its own address space. Because it runs as a separate process, the code of the object can be shared and can be invoked by a process on the same machine as the client application or on a different machine.
1. If the COM server is on a different machine than the client application, install Quantify on the server's machine.
2. Register the COM server.
3. Instrument the COM server executable from the command line by typing:
quantify /Run=no /Replace=yes exename.exe
4. Quantify renames the COM server executable to Exename.exe.original and then names the instrumented server Exename.exe.
5. Start the client application outside of Quantify. When the client application invokes the COM server, it actually invokes the instrumented version, which starts Quantify.
(C) Copyright IBM Corporation 1993, 2009.