PRB: Applications Using OLE 2.02 Features Don't Compile

Last reviewed: July 22, 1997
Article 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


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 22, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.