BUG: Adding Method to Custom Interface Causes MIDL2269ID: Q192626
|
Adding a method to an ATL class generates the following compile time error:
MIDL2269 : procedures in an object interface must return an HRESULT
The method implements a custom interface, does not use the [local] attribute, and does not return a value of type HRESULT.
Add the [local] attribute to either the interface or the method.
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.
Additional query words:
Keywords : kbwizard kbClassView kbide kbMiscTools kbVC500bug kbVC600bug kbGrpDSTools
Version : WINNT:5.0,6.0
Platform : winnt
Issue type : kbbug
Last Reviewed: August 5, 1999