Profiling In-proc COM Servers

Related Topics

An in-proc COM server is a COM object that is a DLL loaded into the address space of the client process that is using it. The DLL must be processed by Quantify in the context of the client process.

1.    Make sure the uninstrumented server (the original DLL) is registered. Use Regsvr32.exe to register it, if necessary.

2.    Profile the client application. Quantify intercepts the LoadLibrary call made by the client process and instruments the COM DLL as it is loaded.

3.    If you want to debug the client application and plan to step into the COM DLL, you must first add the name of the instrumented COM DLL to the project (in Microsoft Visual Studio select Project > Settings and in the Debug tab select the category Additional DLLs). If you are using inclusive instrumentation, the instrumented DLL is located in the PurifyPlus cache directory. You can identify a cached file by its name: it contains the encoded path of the original COM DLL and other information used by Quantify.

(C) Copyright IBM Corporation 1993, 2009.