问个入门问题
把别人写的CXPButton的文件引入自己的工程中的,是一个关于自画button的文件。然后使用类向导加了一个button,类型是CXPButton。可编译时提示的错误是:
:\vc源代码\test\testdlg.h(23) : error C2146: syntax error : missing ';' before identifier 'm_Button'
f:\vc源代码\test\testdlg.h(23) : error C2501: 'CXPButton' : missing storage-class or type specifiers
f:\vc源代码\test\testdlg.h(23) : error C2501: 'm_Button' : missing storage-class or type specifiers
F:\Vc源代码\test\testDlg.cpp(76) : error C2065: 'm_Button' : undeclared identifier
不知道原因何在