Microsoft KB Archive/191129

= 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</li></ul>

 Microsoft Visual C++ 6.0 Standard Edition</li></ul> </li></ul>

-

<div class="notice_section">

This article was previously published under Q191129

<div class="symptoms_section">

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.

<div class="cause_section">

CAUSE
This problem occurs with any in-place activation server created with MFC, where the server is not an Active document server.

<div class="resolution_section">

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.

<div class="status_section">

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.

<div class="moreinformation_section">

Steps to Reproduce Behavior

 * 1) Build Scribble Step7, and run it to register it on the system.
 * 2) Start Microsoft Word and insert a Scribb document.
 * 3) Save the Word document, and open it in Internet Explorer.
 * 4) Double-click on the Scribb Object to activate it.

RESULTS:

ASSERT in olefrm.cpp line 637.

There are also two Help menus in the Internet Explorer menu bar.

<div class="references_section">