开发者

Lose classes in VS C++ 6.0 when backing up project

开发者 https://www.devze.com 2023-01-18 18:49 出处:网络
I have a project that contains 235+ source and header files.In my standard development cycle, I develo开发者_如何学Cp a little, test that development, create a release version, test that and deliver t

I have a project that contains 235+ source and header files. In my standard development cycle, I develo开发者_如何学Cp a little, test that development, create a release version, test that and deliver that release to my customer. I then copy the project directory and change its name. I then start all over again to address new customer requirements.

This iteration however something terminal happened. After copying the directory into a newly made directory, I brought it into the MSC++ 6.0 development environment I normally use. To my surprise only 15 of the more than 140 classes are now being displayed in the ClassView tab of the Workspace window. All the files are there in the FileView tab. The project totally compiles and links and executes correctly.

I have deleted the *.clw in the directory and rebuilt it via the ClassWizard, but get the same results as above.

Can anyone point out what I did that prevents me from backing up my project the way I outline above? (I can still go back to the original project files and they work fine.)


Thank you for all your responses.

I found that if I exited MS C++, then deleted the *.clw and the *.ncb files, then brought up C++ and used the ClassWizard to rebuild its database, everything returned to normal.


A solution by Microsoft iw there: http://support.microsoft.com/kb/294704. You can first close all projects usicg File -> Close Workspace. Moreover verify that all headers and related sources are in FileView pane. I hope this will work.

0

精彩评论

暂无评论...
验证码 换一张
取 消