BUG: VC++ Project Settings Saved Only on Normal Exit
ID: Q190999
|
The information in this article applies to:
-
Microsoft Visual C++, 32-bit Editions, versions 2.0, 2.1, 2.2, 4.0, 4.1, 4.2, 5.0, 6.0
SYMPTOMS
Visual C++ project settings can be lost if a project is terminated by any
means other than a normal exit. Loss of settings can result despite
clicking OK after making a change to a project setting.
RESOLUTION
To avoid losing project settings, close the project before leaving the
machine for an extended time. Also, on the File menu, click Save All before performing a task that could crash the machine.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
MORE INFORMATION
Loss of project settings can occur on abnormal termination of the project,
which could result from power loss or other reasons. This risk can be
minimized by closing the workspace before leaving the machine for an
extended time or by clicking Save All on the File menu before performing a task that may crash the machine.
Steps to Reproduce Behavior
- Create a new Visual C++ Win32 Application project, give it a name, and
click OK.
NOTE: Depending on the version of Visual C++ in use, a wizard may supply
additional dialog boxes. Provide appropriate responses to these dialog
boxes.
- On the Project menu, click Settings, and then click the C/C++ tab. In
the Warning level combo box, select a different level than the default
level and then click OK.
- Terminate the project abnormally by pressing CTRL+ALT+DEL to bring up
the Task Manager in Windows NT or the Close Window dialog box in Windows
95 or Windows 98. Highlight the Visual C++ task and then click End Task.
NOTE: Do not respond to a dialog box asking if changes are to be saved.
Instead, click End Task in the dialog box that follows.
- Start Visual C++ again and open the Visual C++ project that was just
terminated abnormally.
- On the Project menu, click Settings and then click the C/C++ tab. The
bug described in this article is demonstrated by the loss of the project
setting change made earlier.
- Verify the workaround by making another setting change, click Save All
on the File menu prior to abnormally terminating the project as
described in step 3, and then repeating steps 4 and 5.
Additional query words:
Keywords : kbide kbVC200bug kbVC220bug kbVC400bug kbVC410bug kbVC420bug kbVC500bug kbVC600bug kbvc600faq
Version : winnt:2.0,2.1,2.2,4.0,4.1,4.2,5.0,6.0
Platform : winnt
Issue type : kbbug
|