Microsoft KB Archive/234314

= BUG: "This Stub Requires an Updated Version of " Error =

Article ID: 234314

Article Last Modified on 8/23/1999

-

APPLIES TO


 * Microsoft Windows CE Toolkit for Visual C++ 6.0

-



This article was previously published under Q234314



SYMPTOMS
Compiling a Windows CE project may generate the following compiler error:

fatal error C1189: #error : this stub requires an updated version of 



CAUSE
You'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.



RESOLUTION
You can #include  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__.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

Keywords: kbbug KB234314

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.