The information in this article applies to:
SYMPTOMSCompiling a Windows CE project may generate the following compiler error:
CAUSEYou'll get this error if you include a MIDL-generated header file. These header files use newer macros, like MIDL_INTERFACE(), which is only defined in later versions of Rpcndr.h. RESOLUTIONYou can #include <wceatl.h> before #including any MIDL-generated header files. Wceatl.h contains a definition for MIDL_INTERFACE() and works around the compiler error by #defining __RPCNDR_H_VERSION__. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. Additional query words:
Keywords : kbCOMt kbVC kbWinCE kbGrpMFCATL |
Last Reviewed: August 20, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |