Need help with delete class cleanup. Alternatively ...
-
I wanted to delete several classes from my project. Following procedure given about 1000 posts ago I removed the .cpp and .h files for the undesired classes from my project folder. I then deleted the .clw file, reopened my workspace and hit Ctrl+w. The Class Wizard came-up and said I had no .clw and would I like one? I said yes and .clw was rebuilt. I examined the .clw and the unwanted classes are indeed gone. Problem is this: the deleted classes still show-up in the Class View window, and the file names of the removed files persist in the File View window. How can I cause my workspace view windows to show the updated project configuration? I am running VS5-SP1, in the process of d'loading SP3. Alternatively, what I am trying to do is set-up a project workspace that is hooked-up to MFC and wizards, but I want to avoid (for the time being) some of the files that AppWiz generates for me so that I can build from scratch and learn the details. I want to keep only the app class and the mainframe class. I am a beginner at MFC and VC++, but I have solid experience in C. Tadzu
-
I wanted to delete several classes from my project. Following procedure given about 1000 posts ago I removed the .cpp and .h files for the undesired classes from my project folder. I then deleted the .clw file, reopened my workspace and hit Ctrl+w. The Class Wizard came-up and said I had no .clw and would I like one? I said yes and .clw was rebuilt. I examined the .clw and the unwanted classes are indeed gone. Problem is this: the deleted classes still show-up in the Class View window, and the file names of the removed files persist in the File View window. How can I cause my workspace view windows to show the updated project configuration? I am running VS5-SP1, in the process of d'loading SP3. Alternatively, what I am trying to do is set-up a project workspace that is hooked-up to MFC and wizards, but I want to avoid (for the time being) some of the files that AppWiz generates for me so that I can build from scratch and learn the details. I want to keep only the app class and the mainframe class. I am a beginner at MFC and VC++, but I have solid experience in C. Tadzu
Why are you d/l SP3 instead of 4 ? Are there issues I haven't heard about ? As to your files, if they've been deleted from the folder, and also removed from the project in file view, I'd be surprised to imagine where visual c is finding out about them. There are a number of other projectname.ext files, you *could* back them all up and try deleting other files as well as the .clw and figure out where it's being stored there. Christian The content of this post is not necessarily the opinion of my yadda yadda yadda. To understand recursion, we must first understand recursion.
-
I wanted to delete several classes from my project. Following procedure given about 1000 posts ago I removed the .cpp and .h files for the undesired classes from my project folder. I then deleted the .clw file, reopened my workspace and hit Ctrl+w. The Class Wizard came-up and said I had no .clw and would I like one? I said yes and .clw was rebuilt. I examined the .clw and the unwanted classes are indeed gone. Problem is this: the deleted classes still show-up in the Class View window, and the file names of the removed files persist in the File View window. How can I cause my workspace view windows to show the updated project configuration? I am running VS5-SP1, in the process of d'loading SP3. Alternatively, what I am trying to do is set-up a project workspace that is hooked-up to MFC and wizards, but I want to avoid (for the time being) some of the files that AppWiz generates for me so that I can build from scratch and learn the details. I want to keep only the app class and the mainframe class. I am a beginner at MFC and VC++, but I have solid experience in C. Tadzu
Problem is this: the deleted classes still show-up in the Class View window Close the workspace, delete the project.ncb file, then reopen the workspace. --Mike-- http://home.inreach.com/mdunn/ Is history an illusion caused by the passage of time, or is time an illusion caused by the passage of history?
-
I wanted to delete several classes from my project. Following procedure given about 1000 posts ago I removed the .cpp and .h files for the undesired classes from my project folder. I then deleted the .clw file, reopened my workspace and hit Ctrl+w. The Class Wizard came-up and said I had no .clw and would I like one? I said yes and .clw was rebuilt. I examined the .clw and the unwanted classes are indeed gone. Problem is this: the deleted classes still show-up in the Class View window, and the file names of the removed files persist in the File View window. How can I cause my workspace view windows to show the updated project configuration? I am running VS5-SP1, in the process of d'loading SP3. Alternatively, what I am trying to do is set-up a project workspace that is hooked-up to MFC and wizards, but I want to avoid (for the time being) some of the files that AppWiz generates for me so that I can build from scratch and learn the details. I want to keep only the app class and the mainframe class. I am a beginner at MFC and VC++, but I have solid experience in C. Tadzu
Okay, the unwanted classes are gone, now. Just a beginner's mistake. Turns-out that "Delete" does not show-up on the shortcut menu (right-mouse-click menu) when in File View, so I deceived myself into thinking that there was no delete option. The "Delete" option is in the edit menu of the mainframe, as Christan pointed-out. Rereading the Environment User's Guide. Tadzu
-
Okay, the unwanted classes are gone, now. Just a beginner's mistake. Turns-out that "Delete" does not show-up on the shortcut menu (right-mouse-click menu) when in File View, so I deceived myself into thinking that there was no delete option. The "Delete" option is in the edit menu of the mainframe, as Christan pointed-out. Rereading the Environment User's Guide. Tadzu
You can also just hit the delete key.