Checking Out-of-proc COM Servers (Error Detection)

Related Topics

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 Purify on the server's machine.

2.    Register the COM server.

3.    Instrument the COM server executable from the command line by typing:

purify /run=no /replace=yes Exename.exe

4.    Purify renames the COM server executable to Exename.exe.original and then names the instrumented server Exename.exe.

5.    Start the client application outside of Purify. When the client application invokes the COM server, it actually invokes the instrumented version, which starts Purify.

Note:

§      If you are using Microsoft Windows 2000 or higher, the Windows File Protection feature (WFP) may prevent certain types of files from being replaced. For a workaround to this problem, click images\shortcut.gif.

(C) Copyright IBM Corporation 1992, 2010.