d:\projet\hplccontrolpanel\basecontrol.h(13) :error C2146:syntax error :missing ';' before identifier 'HPLCCPDlg'd:\projet\hplccontrolpanel\basecontrol.h(13) :error C2501:'CHPLCControlPanelDlg' :missing storage-class or type specifiersd:\projet\hplcc

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/08 08:22:17
d:\projet\hplccontrolpanel\basecontrol.h(13) :error C2146:syntax error :missing ';' before identifier 'HPLCCPDlg'd:\projet\hplccontrolpanel\basecontrol.h(13) :error C2501:'CHPLCControlPanelDlg' :missing storage-class or type specifiersd:\projet\hplcc

d:\projet\hplccontrolpanel\basecontrol.h(13) :error C2146:syntax error :missing ';' before identifier 'HPLCCPDlg'd:\projet\hplccontrolpanel\basecontrol.h(13) :error C2501:'CHPLCControlPanelDlg' :missing storage-class or type specifiersd:\projet\hplcc
d:\projet\hplccontrolpanel\basecontrol.h(13) :error C2146:syntax error :missing ';' before identifier 'HPLCCPDlg'
d:\projet\hplccontrolpanel\basecontrol.h(13) :error C2501:'CHPLCControlPanelDlg' :missing storage-class or type specifiers
d:\projet\hplccontrolpanel\basecontrol.h(13) :fatal error C1004:unexpected end of file found
Generating Code...
Ö´ÐÐ cl.exe ʱ³ö´í.
Creating browse info file...
BSCMAKE:error BK1506 :cannot open file '.\Debug\BaseControl.sbr':No such file or directory
Ö´ÐÐ bscmake.exe ʱ³ö´í.
这是什么错误,

d:\projet\hplccontrolpanel\basecontrol.h(13) :error C2146:syntax error :missing ';' before identifier 'HPLCCPDlg'd:\projet\hplccontrolpanel\basecontrol.h(13) :error C2501:'CHPLCControlPanelDlg' :missing storage-class or type specifiersd:\projet\hplcc
类'HPLCCPDlg'和'CHPLCControlPanelDlg'无定义
导致你定义的对象无效missing storage-class or type specifiers
原因可能是
1.没包含相应的头文件
2.类名拼写出错