VC6.0 添加了两个文件ado.h ado.cpp,通过ADO链接sql。在我的台式机上运行良好,在我的本上报错
error C2146: syntax error : missing ';' before identifier 'ConflictTables'
f:\新建文件夹 (2)\农产品物流管理\debug\msjro.tlh(100) : error C2501: '_RecordsetPtr' : missing storage-class or type specifiers
f:\新建文件夹 (2)\农产品物流管理\debug\msjro.tlh(100) : error C2501: 'ConflictTables' : missing storage-class or type specifiers
f:\新建文件夹 (2)\农产品物流管理\debug\msjro.tlh(128) : error C2146: syntax error : missing ';' before identifier 'GetConflictTables'
f:\新建文件夹 (2)\农产品物流管理\debug\msjro.tlh(128) : error C2501: '_RecordsetPtr' : missing storage-class or type specifiers
f:\新建文件夹 (2)\农产品物流管理\debug\msjro.tli(43) : error C2143: syntax error : missing ';' before 'tag::id'
f:\新建文件夹 (2)\农产品物流管理\debug\msjro.tli(43) : error C2433: '_RecordsetPtr' : 'inline' not permitted on data declarations
f:\新建文件夹 (2)\农产品物流管理\debug\msjro.tli(43) : error C2501: '_RecordsetPtr' : missing storage-class or type specifiers
f:\新建文件夹 (2)\农产品物流管理\debug\msjro.tli(43) : fatal error C1004: unexpected end of file found
各位大虾,帮帮忙,我折腾了一下午,搞不定。谢谢!我等着,OK?
你没有在StdAfx.h中加入#import "C:\Program Files\Common Files\System\ado\msado15.dll" no_namespace rename("EOF","adoEOF")rename("BOF","adoBOF")吧?这个事引入ado数据库技术的核心啊亲。。