Problem with ClassWizard
-
After I've created a new resource (IDD_TBL_A_DLG) and open ClassWizard, ClassWizard tells me I have a new resource and do I want to create a new class for it. When I try to create the class for this resource, I get the following: "Unable to open the files (C:\RetPlan\TableA.h, C:\RetPlan\TableA.cpp) for class CTableA". However, the .cpp and .h files are created but the Wizard can not add to them! Can anyone clue me in as to what is going on? This is a VC++ 6.0 Project and is 'dialog-based'.
John P.
-
After I've created a new resource (IDD_TBL_A_DLG) and open ClassWizard, ClassWizard tells me I have a new resource and do I want to create a new class for it. When I try to create the class for this resource, I get the following: "Unable to open the files (C:\RetPlan\TableA.h, C:\RetPlan\TableA.cpp) for class CTableA". However, the .cpp and .h files are created but the Wizard can not add to them! Can anyone clue me in as to what is going on? This is a VC++ 6.0 Project and is 'dialog-based'.
John P.
jparken wrote:
"Unable to open the files (C:\RetPlan\TableA.h, C:\RetPlan\TableA.cpp) for class CTableA". However, the .cpp and .h files are created but the Wizard can not add to them! Can anyone clue me in as to what is going on? This is a VC++ 6.0 Project and is 'dialog-based'.
Delete .aps, .clw, and .ncb files and restart IDE.
Nibu thomas A Developer Programming tips[^] My site[^]
-
After I've created a new resource (IDD_TBL_A_DLG) and open ClassWizard, ClassWizard tells me I have a new resource and do I want to create a new class for it. When I try to create the class for this resource, I get the following: "Unable to open the files (C:\RetPlan\TableA.h, C:\RetPlan\TableA.cpp) for class CTableA". However, the .cpp and .h files are created but the Wizard can not add to them! Can anyone clue me in as to what is going on? This is a VC++ 6.0 Project and is 'dialog-based'.
John P.
jparken wrote:
Can anyone clue me in as to what is going on? This is a VC++ 6.0 Project and is 'dialog-based'.
It's a known bug with VS6. The files get created, but ClassWizard just doesn't know about them. Clean up the project's temporary files, and then restart the IDE.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
-
jparken wrote:
Can anyone clue me in as to what is going on? This is a VC++ 6.0 Project and is 'dialog-based'.
It's a known bug with VS6. The files get created, but ClassWizard just doesn't know about them. Clean up the project's temporary files, and then restart the IDE.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
Thanks very much. This is the first time this had happened to me.
John P.