BUG: Access Violation Opening a Workspace of Type Makefile

Last reviewed: August 7, 1997
Article ID: Q154111
4.00 4.10 4.20 WINDOWS NT kbusage kbbuglist

The information in this article applies to:

  • Microsoft Visual C++, 32-bit Edition, versions 4.0, 4.1, 4.2

SYMPTOMS

Sometimes when opening a Visual C++ generated makefile that has been modified (either by you or corrupted by the system), Developer Studio will generate 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 editing 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. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

The point at which Developer Studio crashes varies. Sometimes the makefile will be partially read in and the crash will occur. Sometimes the makefile will partially be read in and you will be prompted:

"This makefile was not generated by Developer Studio. Continuing will create a new Developer Studio workspace to wrap this makefile."

After you click Yes, the crash will occur.


Additional reference words: 4.00 4.10 4.20 gpf crash access violation
vcbuglist400
KBCategory: kbusage kbbuglist
KBSubcategory: VWBIss
Keywords : VwbIss kbbuglist kbusage
Version : 4.00 4.10 4.20
Platform : NT WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: August 7, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.