The information in this article applies to:
SYMPTOMSClassWizard generates improper COleDispatchDriver derived member functions for methods that contain one or more LPDISPATCH* parameters. Specifically, ClassWizard generates member functions using a LPDISPATCH parameter instead of LPDISPATCH*. In other words, the asterisk (*) is missing. RESOLUTION
To correct this problem, you must edit the COleDispatchDriver derived
member directly.
To correct this problem, change the parameter type to LPDISPATCH*, and
modify the parms[] array so that it contains a corresponding VTS_PDISPATCH
entry instead of VTS_DISPATCH, as illustrated here:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This was fixed in Visual C++ version 5.0. Additional query words:
Keywords : kbole kbwizard kbMFC kbVC150bug kbVC151bug kbVC152bug kbVC200bug kbVC210bug kbVC400bug kbVC410bug kbVC420bug kbVC500fix kbGrpDSTools |
Last Reviewed: July 30, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |