BUG: Tstcon32.exe Cannot Invoke Method with BSTR* Parameter Type (199942)
The information in this article applies to:
- The Microsoft Foundation Classes (MFC), when used with:
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
- Microsoft Visual C++ .NET (2002)
This article was previously published under Q199942 SYMPTOMS
The ActiveX Control Test Container (version 6.0.8063) that ships with Visual C++ 6.0 and Visual C++.NET fail to invoke a method of an MFC ActiveX control that has BSTR* parameter type.
CAUSEMicrosoft has confirmed that this is a bug in Visual C++ 6.0 and Visual C++.NET ActiveX Control Test Container. RESOLUTION
To work around this issue:
- Use containers such as Visual Basic.
- Use LPCTSTR as the parameter type.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 12/11/2003 |
---|
Keywords: | kbBug kbContainer kbCtrl kbMiscTools kbNoUpdate KB199942 |
---|
|