Article ID: 154111
Article Last Modified on 12/2/2003
APPLIES TO
- Microsoft Visual C++ 4.0 Standard Edition
- Microsoft Visual C++ 4.1 Subscription
- Microsoft Visual C++ 4.2 Enterprise Edition
- Microsoft Visual C++ 5.0 Enterprise Edition
- Microsoft Visual C++ 6.0 Enterprise Edition
- Microsoft Visual C++ 4.2 Professional 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 Q154111
SYMPTOMS
Sometimes when you open a Visual C++ generated makefile that has been
modified (either by you or corrupted by the system), Developer Studio
generates a fatal application error (illegal operation, access violation,
gpf, page fault).
CAUSE
Visual C++ uses the makefile to store project information and is
sensitive to changes in the format of the file.
RESOLUTION
When you edit a makefile generated by Visual C++, delete the first few
lines of the makefile. These lines are comments that Visual C++ uses to
identify makefiles that are generated by Visual C++. When those lines
are deleted, Visual C++ will not attempt to parse the makefile.
If your makefile has become corrupted (you get a fatal error and
you haven't edited the makefile), then you must restore the makefile
from a backup, if you have one, or re-create the project.
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.
Additional query words: gpf crash access violation
Keywords: kbbug kbfix kbnoupdate kbide KB154111