FIX: Visual Studio .NET IDE crashes when multiple developers are working on the same resource file (326015)
The information in this article applies to:
- Microsoft Visual SourceSafe 6.0c, when used with:
- Microsoft Visual Studio .NET (2002), Professional Edition
- Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2003), Professional Edition
- Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
This article was previously published under Q326015 SYMPTOMS If you add a resource file (such as an icon, a bitmap, or a
cursor) to a Microsoft Visual C++ .NET project that is under source code
control, after you are prompted to check out the resource (.rc) file for
editing, you may receive the following application error messages:
Microsoft Development Environment has encountered a
problem and needs to close. devenv.exe - application error : "memory
could not be read" CAUSE This problem occurs if another developer has added a new
resource file to the project. When you try to add a new resource, the resource
file (*.rc) is checked out for editing from source control. As a result, the
latest copy of the resource (.rc) file is copied to the developer's
workstation, and the resource file that is added (for example, the icon or the
bitmap) is not retrieved. Because the project now references a missing item,
the local instance of the project cannot be compiled, which causes the error
messages in the "Symptoms" section of this article when you try to save the
project. RESOLUTION To work around this behavior, use the Get Latest Version command on the project before you add any new resource items.
This makes sure that you have copies of all of the files that the project needs
(including any resource files that are newly added) before you add new resource
items to the project. STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.
Modification Type: | Minor | Last Reviewed: | 8/26/2005 |
---|
Keywords: | kbvs2002sp1sweep kbbug kbpending KB326015 kbAudDeveloper |
---|
|