HOWTO: Debug OLE Server Applications Using MSVC

ID: Q151074


The information in this article applies to:


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:

Q85221 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          : kbtshoot LeTwoOth 
Version           : WINNT:3.51
Platform          : NT Win95 WINDOWS 
Issue type        : kbhowto 

Last Reviewed: March 9, 1999