FIX: Access Violation on MSVC.EXE When Scanning Dependencies (122788)



The information in this article applies to:

  • Microsoft Visual C++, 32-bit Editions 2.0

This article was previously published under Q122788

SYMPTOMS

Updating project dependencies or adding a resource file generates a message box containing this error:
MSVC.EXE
Exception: access violation (0xc0000005), Address <number>

CAUSE

The size of the resource file is a multiple of 4096 bytes.

RESOLUTION

Change the size of the resource file. Use the following steps to open the resource file as a text file and add a few spaces:

  1. From the File menu, choose Open.
  2. Change the Open As: option to Text.
  3. Select the resource file.
  4. Add some spaces.
  5. Save the file.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem was fixed in Microsoft Visual C++, 32-bit Edition, version 4.0.

Modification Type:MajorLast Reviewed:11/13/2001
Keywords:kbbug kbide KB122788