PRB: Applications Using OLE 2.02 Features Don't Compile

ID: Q128147

1.50 1.51 1.52 WINDOWS kbole kbprg

The information in this article applies to:

   Microsoft Visual C++ for Windows, versions 1.50, 1.51, 1.52

SYMPTOMS

Attempts to build 16-bit projects that use features added to OLE version 2.02, such as OLE Automation '94 error interfaces, or that use platform independent type definitions, such as OLECHAR, fail on compilation.

CAUSE

The OLE header files included with the Microsoft products listed at the beginning of this article are OLE 2.01 header files.

RESOLUTION

Replace your header files and import libraries with the header files and import libraries included with the OLE version 2.02 SDK.

STATUS

This behavior is by design. When the products listed at the beginning of this article shipped, OLE version 2.01 was the current version of OLE.

MORE INFORMATION

The OLE version 2.02 SDK is available from the Microsoft Software Library. To learn how to obtain it, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q121835
   TITLE     : Update for the 16- and 32-Bit OLE2 SDK

Additional reference words: 1.50 1.51 1.52 2.01 2.02 letwomisc KBCategory: kbole kbprg KBSubcategory: VCGenIss MfcOLE Keywords : kb16bitonly

Last Reviewed: July 23, 1997