我在基于对话框的程序中添加了一个myrecordset 运行后显示
Configuration: table - Win32 Debug--------------------
Compiling...
myrecordset.cpp
e:\vc++程序_2\table\myrecordset.h(14) : error C2504: 'CRecordset' : base class undefined
e:\vc++程序_2\table\myrecordset.h(16) : error C2629: unexpected 'class myrecordset ('
e:\vc++程序_2\table\myrecordset.h(16) : error C2238: unexpected token(s) preceding ';'
e:\vc++程序_2\table\myrecordset.h(33) : error C2061: syntax error : identifier 'CFieldExchange'
E:\vc++程序_2\table\myrecordset.cpp(17) : error C2653: 'CRecordset' : is not a class or namespace name
E:\vc++程序_2\table\myrecordset.cpp(17) : error C2065: 'classCRecordset' : undeclared identifier
E:\vc++程序_2\table\myrecordset.cpp(19) : error C2065: 'CDatabase' : undeclared identifier
E:\vc++程序_2\table\myrecordset.cpp(19) : error C2065: 'pdb' : undeclared identifier
E:\vc++程序_2\table\myrecordset.cpp(20) : error C2448: '<Unknown>' : function-style initializer appears to be a function definition
E:\vc++程序_2\table\myrecordset.cpp(20) : error C2143: syntax error : missing ';' before ':'
E:\vc++程序_2\table\myrecordset.cpp(21) : error C2448: '<Unknown>' : function-style initializer appears to be a function definition
E:\vc++程序_2\table\myrecordset.cpp(42) : error C2065: 'CFieldExchange' : undeclared identifier
E:\vc++程序_2\table\myrecordset.cpp(42) : error C2065: 'pFX' : undeclared identifier
E:\vc++程序_2\table\myrecordset.cpp(43) : error C2448: '<Unknown>' : function-style initializer appears to be a function definition
E:\vc++程序_2\table\myrecordset.cpp(58) : error C2653: 'CRecordset' : is not a class or namespace name
E:\vc++程序_2\table\myrecordset.cpp(63) : error C2653: 'CRecordset' : is not a class or namespace name
Error executing cl.exe.
table.exe - 16 error(s), 0 warning(s)
这是什么问题?