不会弹出对话框,帮帮忙
void CGPSDlg::OnSet()
{
// TODO: Add your control notification handler code here
UpdateData(true);
CSET dlg;
dlg.DoModal();
UpdateData(false);
}
--------------------Configuration: GPS - Win32 Debug--------------------
Compiling...
GPSDlg.cpp
E:\GPS原3月5\GPSDlg.cpp(665) : error C2065: 'CSET' : undeclared identifier
E:\GPS原3月5\GPSDlg.cpp(665) : error C2146: syntax error : missing ';' before identifier 'dlg'
E:\GPS原3月5\GPSDlg.cpp(665) : error C2065: 'dlg' : undeclared identifier
E:\GPS原3月5\GPSDlg.cpp(666) : error C2228: left of '.DoModal' must have class/struct/union type
我头文件加了, 也创建了新对话框类了, 为啥这样错 了。