Knowledge Base

How To Debug OLE Server Applications Using MSVC

Article ID: 151074

Article Last Modified on 11/15/2006


APPLIES TO


This article was previously published under Q151074

SUMMARY

An OLE client application involves interaction with other OLE server applications. This interaction could be with in-process or out-of-process servers. The client application may or may not have debugging information. These combinations make the debugging process of an OLE application complicated. This article presents some techniques that can be used for debugging OLE-enabled applications.

MORE INFORMATION

Debugging an In-Process OLE Server Application

An OLE client application interacting with an in-process OLE server application is simply loading an OLE server DLL in the client application address space. To debug such an in-process server, standard DLL debugging techniques can be used. For more information, please see the following article in the Microsoft Knowledge Base:

85221 Debugging a Dynamic-Link Library (DLL) in Windows

Debugging an Out-of-Process OLE Server Application

In an OLE client application interacting with an out-of-process OLE server application, the debugging involves crossing process spaces, which makes it much more difficult. Following are few techniques that can be used to debug out-of-process OLE server applications:


Additional query words: 3.50

Keywords: kbhowto kbtshoot KB151074