FIX: Menu Merge Problem with Server in Active Doc Container
Article ID: 191129
Article Last Modified on 11/21/2006
APPLIES TO
- Microsoft Foundation Class Library 4.2, when used with:
- Microsoft Visual C++ 5.0 Enterprise Edition
- Microsoft Visual C++ 6.0 Enterprise Edition
- Microsoft Visual C++ 5.0 Professional Edition
- Microsoft Visual C++ 6.0 Professional Edition
- Microsoft Visual C++ 6.0 Standard Edition
This article was previously published under Q191129
SYMPTOMS
Multiple Help menus appear when an MFC server is activated within an Active
document server that supports in-place editing (such as Microsoft Word),
and that document is opened by an Active document container (such as
Internet Explorer 4.0). In debug builds, an ASSERT occurs in Oledocip.cpp
line 151.
CAUSE
This problem occurs with any in-place activation server created with MFC,
where the server is not an Active document server.
RESOLUTION
One workaround is to enable your server as an Active document. See the
Visual C++ Help topic "Upgrade to an Active Document Server" for details on
adding this support to an existing Active document server.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products
listed at the beginning of this article.
This problem was corrected in Microsoft Visual C++ .NET.
REFERENCES
Microsoft Visual C++ Documentation: Using Visual C++; Visual C++
Programmer's Guide; Porting and Upgrading; How Do I...; How Do I: Porting
and Upgrading; click: "To Active document servers" under the "Upgrade In-
Process Servers" section.
Additional query words: DocObject
Keywords: kbactivedocs kbbug kbfix kbnoupdate KB191129