Knowledge Base

Debugging OLE 2.0 Applications Under Win32s

PSS ID Number: 123812

Article Last Modified on 10/15/2002


The information in this article applies to:


This article was previously published under Q123812

SUMMARY

The following are available to help you debug your OLE 2.0 applications under Win32s:

  • Debug versions of the OLE DLLs, included with Win32s. (See the Win32s Programmer's Reference for more information on the debug DLLs.)
  • Failure/trace messages.
  • The OLE SDK for Win32s, version 1.2, included on the Microsoft Developer Network (MSDN) CD.
For information on a utility that will convert OLE error codes into error message, please see the following article in the Microsoft Knowledge Base:

122957 SAMPLE: DECODE32: OLE Error Code Decoder Tool

MORE INFORMATION

The debug version of OLE can send diagnostic information to the debug terminal. To enable this feature, include the following lines in the SYSTEM.INI:
   [Win32sDbg]
   ole20str=xxxxx
   ole20str16=yyy
				
Use ole20str for 32-bit OLE and ole20str16 for 16-bit OLE. Set them to a combination of the following letters (case sensitive):

f - Failure message, kind of asserts.
v - Verbose. General purpose messages.
1 - Trace special translation activity for 32/16 interoperability.
i - Trace initialization of OLE.
t - Trace termination and cleanup of OLE.

The following tools are contained in the OLE SDK for Win32s, version 1.2:


Additional query words: 1.20

Keywords: kbBug kbDebug kbDSupport KB123812
Technology: kbWin32s120 kbWin32sSearch