超级低级问题:CDaoDatabase db;通不过?
超级低级问题
我的一个对话框工程里
CDaoDatabase db;
CDaoRecordset RecSet(&db);
为什么这两行通不过?
E:\TestDllDB\TestDllDBDlg.cpp(16) : error C2146: syntax error : missing ';' before identifier 'db'
E:\TestDllDB\TestDllDBDlg.cpp(16) : error C2501: 'CDaoDatabase' : missing storage-class or type specifiers
E:\TestDllDB\TestDllDBDlg.cpp(16) : fatal error C1004: unexpected end of file found