The information in this article applies to:
REFERENCESWin32 SDK online documentation: IDispatch::Invoke(); Passing Parameters section SYMPTOMSYou get the error DISP_E_TYPEMISMATCH when using IDispatch::Invoke(). CAUSE
The obvious cause for the error would be that you are passing the wrong
type to a method. You should consult the documentation to determine if you
are passing the correct type to a method.
RESOLUTIONReverse the order of arguments in your DISPPARAMS structure. STATUSThis behavior is by design. Additional query words: Visual C++ -2147352571 DISP_E_TYPEMISMATCH "Type mismatch"
Keywords : kberrmsg kbnokeyword kbKernBase kbGrpKernBase |
Last Reviewed: January 14, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |