BUG: Access violation when you save a workspace with more than 4096 files in Visual C++ 6.0 (230671)



The information in this article applies to:

  • Microsoft Visual C++, 32-bit Enterprise Edition 6.0
  • Microsoft Visual C++, 32-bit Professional Edition 6.0
  • Microsoft Visual C++, 32-bit Learning Edition 6.0

This article was previously published under Q230671

SYMPTOMS

When a project is opened or created with more than 4096 files, attempting to save the workspace may result in the following message:
The instruction at "0x519eccb6" referenced memory at "0x00000000". The memory could not be "read".
Viewing a stack trace of this exception shows that the fault occurs in DevNcb.pkg. The error can occur when you exit the IDE by clicking Exit from the File menu, or when you close the workspace by clicking Close Workspace from the File menu.

RESOLUTION

Following are some possible workarounds:
  • If the workspace contains multiple projects, you may be able to work around the problem by breaking projects into separate workspaces.

    -or-
  • If the workspace contains a project with many files, you may be able to work around the problem by combining some of your source files into fewer larger files, or separate static libraries.

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.

Modification Type:MajorLast Reviewed:4/28/2005
Keywords:kberrmsg kbtshoot kbBug kbfix kbide kbNoUpdate kbprb KB230671 kbAudDeveloper