Article ID: 180593
Article Last Modified on 12/2/2003
APPLIES TO
- Microsoft Visual C++ 4.0 Standard Edition
- Microsoft Visual C++ 4.0 Standard Edition
- Microsoft Visual C++ 4.1 Subscription
- Microsoft Visual C++ 4.2 Enterprise Edition
- Microsoft Visual C++ 4.2 Enterprise Edition
- Microsoft Visual C++ 5.0 Enterprise Edition
- Microsoft Visual C++ 4.2 Professional Edition
- Microsoft Visual C++ 4.2 Professional Edition
- Microsoft Visual C++ 5.0 Professional Edition
This article was previously published under Q180593
SYMPTOMS
While Visual C++ is running, renaming a project's directory fails even though the project has been closed.
CAUSE
The project .ncb file remains open even after the project is closed.
RESOLUTION
Open another project, or close Visual C++ Developer Studio.
If renaming the directory still fails, and Visual C++ previously crashed [general protection (GP) fault], consult Task Manager for a running process named Msdev.exe and end the process.
If renaming still fails, another task may have a file open in that directory or one of its subdirectories. Find and close that task.
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 Visual C++ version 6.0.
MORE INFORMATION
Steps to Reproduce Behavior
- Create a directory named C:\MyTest.
- In Visual C++, on the File menu, click New and start a new MFC AppWizard project located in C:\MyTest. Click Finish, then click OK.
- On the File menu, click Close Workspace.
- Using Windows Explorer, try to rename C:\MyTest.
RESULTS: Windows Explorer reports a sharing violation.
Keywords: kbbug kbfix kbide kbvc600fix KB180593