Ok calling it a wizard sort of puts into your head the idea that it is a very powerful and intelligent entity. It's not.
I keep having problems creating classes.
Here is what I'm doing.
1. Create a new dialog in the resource editor.
2. Right click it, select ClassWizard.
3. ClassWizard pops up and says there is no class for resource ID IDD_DIALOG1 or the ID of my dialog if I've changed it.
4. I select create new class.
5. I put in the name as CMyDialog, base as CDialog.
6. Error message comes up and says cannot open file CMyDialog.cpp or CMyDialog.h - and thus it DOES NOT ADD the class to the wizard...you can't select it.
7. However, when I look in the directory - and in the project those files are there and they are complete.
Why does this happen? It seems to happen more when I attempt to put a C in front of my class name. But it keeps happening more and more which cause me to have to remove the two files from the project, close their windows in the IDE, and physically erase the frieking files. Then when I open ClassWizard it can create another CMyDialog....but it prob will fail again with the same error.
Anyone else have this problem. Is it a bug in ClassWizard?
Sometimes MSVC says this same thing when I try to compile. Cannot save such and such a file because it is in use. After it says this, I compile and everything is ok.