PRB: ClassView Does Not Display COM Interface Nodes (201097)
The information in this article applies to:
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
This article was previously published under Q201097 SYMPTOMS
When you add COM_INTERFACE_ENTRY(IMyIF) to the COM map in a class, a corresponding interface node does not appear on the class in ClassView.
CAUSE
There is no interface declaration for IMyIF in the project's .idl file, or the .idl file has not been saved with that declaration. This is per the current design of ClassView.
RESOLUTION
Add the interface declaration to the project's .idl file and save it. In Visual C++ 6.0, the interface node will immediately appear on the class in ClassView.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. REFERENCES
For additional information on the ?_COM_MAP macros, see the following documentation:
- MSDN library for VC++ 5.0:
Visual C++; C/C++ Language and C++ Libraries; Active Template Library; Class Reference; ATL Macros and Global Functions; "BEGIN_COM_MAP" - MSDN library for VC++ 6:
Visual C++ Documentation; Reference; Microsoft Foundation Class Library
and Templates; Active Template Library; Class Reference; ATL Macros and
Global Functions; "BEGIN_COM_MAP"
Modification Type: | Major | Last Reviewed: | 12/11/2003 |
---|
Keywords: | kbBug kbClassView kbide kbNoUpdate kbprb kbwizard KB201097 |
---|
|