Microsoft KB Archive/129094

= FIX: GP Fault in Visual C++ When Separators in Top Level Menu =

Article ID: 129094

Article Last Modified on 10/2/2003

-

APPLIES TO


 * Microsoft Visual C++ 2.0 Professional Edition
 * Microsoft Visual C++ 2.1

-



This article was previously published under Q129094



NOTE: This problem exists only when running the above versions of Microsoft Visual C++, 32-bit Edition, under Windows 95 M8 Beta.



SYMPTOMS
The Visual C++ version 2.0 and 2.1 menu editor causes a general protection (GP) fault in the M8 beta of Windows 95 when adding a separator to a top level menu or opening a menu resource with a separator in the top level menu.



RESOLUTION
If it is necessary to edit a resource that contains a top-level menu separator, you must open the .rc file in a text editor and remove the top-level menu separators. Then you can use the Resource Editor to edit a menu resource.



STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem has been corrected in Visual C++ version 2.2.



MORE INFORMATION
This bug is best observed in the following two scenarios.

Scenario One - Steps to Reproduce Problem

 * 1) Generate an AppWizard application and select 'Both container and server' in the step 3 property page.
 * 2) Open the .rc file.
 * 3) Open the menu folder.
 * 4) Open the menu with the ID IDR_ TYPE_CNTR_IP.

A GP fault will now occur in Visual C++. Choose  because  will cause Windows 95 to hang.

Scenario Two - Steps to Reproduce Problem

 * 1) Repeat steps 1 through 3 from Scenario One.
 * 2) Open any menu.
 * 3) Open the properties box for the empty menu item, and add a separator by clearing the Popup checkbox and checking Separator.

A GP fault will now occur in Visual C++. Choose  because  will cause Windows 95 to hang.

Additional query words: 2.00 2.10 4.00 crash chicago ole GPF

Keywords: kbbug kbfix kbide kbenv kbvc220fix KB129094

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.