ado控件 use of undefined type 'C_Recordset'

来源:互联网 发布:软件维护费用行业标准 编辑:程序博客网 时间:2024/06/06 08:45

E:\C\sqlprog\SqlDlg.cpp(80) : error C2027: use of undefined type 'C_Recordset'
        e:\c\sqlprog\adodc.h(14) : see declaration of 'C_Recordset'
E:\C\sqlprog\SqlDlg.cpp(80) : error C2228: left of '.GetEof' must have class/struct/union type
Error executing cl.exe.

 

出现此错误时,是因为未定义'C_Recordset'
所以要在.cpp文件中加入#include "_recordset.h"

原创粉丝点击