The information in this article applies to:
SYMPTOMSWhen using the string literals defined for VTS_UI1 or VTS_PUI1 in calling COleDispatchDriver::InvokeHelper() or CWnd::InvokeHelper(), you might get strange results. You might notice any of the following symptoms when using the values defined in AfxDisp.h:
CAUSEThis is because VTS_UI1 and VTS_PUI1 are defined incorrectly in the Afxdisp.h header file. RESOLUTIONDo not use VTS_UI1 or VTS_PUI1 in any of your code. Instead, define the correct values for each of these using a name you assign. Code like the following can be used:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. REFERENCESQ241862 BUG: ClassWizard Omits Methods that Take BYTE or BYTE* as Parameters Additional query words: 0x80020008 COleException InvokeHelper Invoke IDispatch OLE Automation
Keywords : kbAutomation kbCOMt kbMFC kbVC400bug kbVC410 kbVC420 kbVC500bug kbVC600bug kbDSupport kbGrpMFCATL |
Last Reviewed: November 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |