Unusual problem
-
Hi all, i have creted my project with visual studio 6.0 and after that for certain needs i started using visual studio 7(Version 7.1.3088) till now it was working very smoothly. but today i tried to add a propertysheet in my project and for that i created a dialog template and then by right cliking on that dialog box i clicked on add class. and in the add class dialog box i gave CPropertyPage as base class as it is required for the property sheet. and by this way i created the class but now when i compile the project it gives lot's of errors Why these errors are coming? i am doing nothing than just creating a class and giving it base class as CPropertyPage and then it gives me 1625 errors some of the errors are as follows e:\TemporyWorking\Triton\hdr\DocTree.h(20) : error C2504: 'CSizingControlBarG' : base class undefined e:\TemporyWorking\Triton\hdr\DocTree.h(46) : error C2146: syntax error : missing ';' before identifier 'm_imageList' e:\TemporyWorking\Triton\hdr\DocTree.h(46) : error C2501: 'CDocTree::CImageList' : missing storage-class or type specifiers Thanks and Regards Harshal
-
Hi all, i have creted my project with visual studio 6.0 and after that for certain needs i started using visual studio 7(Version 7.1.3088) till now it was working very smoothly. but today i tried to add a propertysheet in my project and for that i created a dialog template and then by right cliking on that dialog box i clicked on add class. and in the add class dialog box i gave CPropertyPage as base class as it is required for the property sheet. and by this way i created the class but now when i compile the project it gives lot's of errors Why these errors are coming? i am doing nothing than just creating a class and giving it base class as CPropertyPage and then it gives me 1625 errors some of the errors are as follows e:\TemporyWorking\Triton\hdr\DocTree.h(20) : error C2504: 'CSizingControlBarG' : base class undefined e:\TemporyWorking\Triton\hdr\DocTree.h(46) : error C2146: syntax error : missing ';' before identifier 'm_imageList' e:\TemporyWorking\Triton\hdr\DocTree.h(46) : error C2501: 'CDocTree::CImageList' : missing storage-class or type specifiers Thanks and Regards Harshal
harsha_1234 wrote:
e:\TemporyWorking\Triton\hdr\DocTree.h(20) : error C2504: 'CSizingControlBarG' : base class undefined
The specified base class,
CSizingControlBarG
, was declared but never defined. This error can be caused by a missing include file or an external base class that was not declared with the extern specifier.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb