Microsoft KB Archive/240017

= FIX: Selecting Multiple Controls in ResourceView Causes VC to Fail =

Article ID: 240017

Article Last Modified on 11/18/2003

-

APPLIES TO


 * Microsoft Visual C++ 6.0 Enterprise Edition
 * Microsoft Visual C++ 6.0 Professional Edition
 * Microsoft Visual C++ 6.0 Standard Edition

-



This article was previously published under Q240017



SYMPTOMS
Selecting multiple controls in the ResourceView and changing their language will cause Visual C++ to crash.



RESOLUTION
Select the controls individually and change the language option one at a time.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

This problem was corrected in Microsoft Visual C++ .NET.



Steps to Reproduce Behavior

 * 1) Create a project called Test using the MFC(EXE) AppWizard. In Step 1 of the MFC(EXE) AppWizard, select Multiple Documents and then click Finish.
 * 2) Click the ResourceView tab.
 * 3) Expand the Test Resources folder and then expand the Menu folder.
 * 4) Select IDR_MAINFRAME and IDR_TESTTYPE, then right-click and select Properties from the pop-up menu.
 * 5) In the Multiple Selection Properties window, change the language using the Language combo box. For example, if it is currently set to English (U.S.), change it to English (U.K.). Visual C++ may crash when you try to change the language.
 * 6) Press ENTER or select the Condition edit window, and Visual C++ will crash.

Because of this crash, Visual C++ isn't removed from memory so you will have to end the Msdev.exe process using Task Manager or you will get error messages when you try to open the Test workspace in another instance of Visual C++.

