Article ID: 242588 - Last Review: November 21, 2006 - Revision: 3.1 BUG: VTS_UI1 and VTS_PUI1 are defined incorrectly in AfxDisp.h in Visual C++This article was previously published under Q242588 SYMPTOMS
When 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:
CAUSE
This is because VTS_UI1 and VTS_PUI1 are defined incorrectly in the Afxdisp.h header file.
RESOLUTION
Do 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 that this is a bug in the Microsoft products that are listed at the beginning of this article. REFERENCES241862
(http://support.microsoft.com/kb/241862/EN-US/
)
BUG: ClassWizard Omits Methods that Take BYTE or BYTE* as Parameters
APPLIES TO
| Article Translations
|
Back to the top
