The information in this article applies to:
SYMPTOMSWhen you include SHLOBJ.H in an MFC application, the following compiler error occurs:
CAUSEThe SDK header file OAIDL.H and the MFC library both define a type BSTR. RESOLUTIONTo work around this problem, add the following definition before including any MFC headers. In an AppWizard-generated application this can be done at the beginning of the STDAFX.H include file:
Additional query words: MFC BSTR
Keywords : kbMFC kbWinOS95 |
Last Reviewed: January 6, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |