两个对话框,在一个对话框上点下OK,然后弹出另外一个对话框。
testdlg dlg1;
dlg1.DoModal();
运行出现了 : error C2228: left of '.DoModal' must have class/struct/union type
: error C2143: syntax error : missing ';' before 'constant'
很简单,
急!!!!!
各位帮忙
testdlg dlg1;
dlg1.DoModal();
运行出现了 : error C2228: left of '.DoModal' must have class/struct/union type
: error C2143: syntax error : missing ';' before 'constant'
很简单,
急!!!!!
各位帮忙
另外要看看你的testdlg是cdialog来的么?
先看看这个
http://www.vckbase.com/bbs/prime/viewprime.asp?id=431
2.你的一个Const前面的一个东西,也没Include进来,编译器不认识。