请问谁看过《ATL COM 和 ADO》? 我用VC 6.0做客户端出现如下错误:
error C2146: syntax error : missing ';' before identifier 'ReadFromFile'
error C2501: '_RecordsetPtr' : missing storage-class or type specifiers
error C2143: syntax error : missing ';' before 'tag::id'
error C2433: '_RecordsetPtr' : 'inline' not permitted on data declarations
error C2501: '_RecordsetPtr' : missing storage-class or type specifiers
fatal error C1004: unexpected end of file found请问那位达人这是怎么回事? 控件是这编文章带的,谢谢那位哥们了
error C2146: syntax error : missing ';' before identifier 'ReadFromFile'
error C2501: '_RecordsetPtr' : missing storage-class or type specifiers
error C2143: syntax error : missing ';' before 'tag::id'
error C2433: '_RecordsetPtr' : 'inline' not permitted on data declarations
error C2501: '_RecordsetPtr' : missing storage-class or type specifiers
fatal error C1004: unexpected end of file found请问那位达人这是怎么回事? 控件是这编文章带的,谢谢那位哥们了
但是你又说是加了的你是不是用到了,源程序里面的类,但是头文件没有包含???
因为这文章是用VB写的客户端,我改用VC客户端调用文章的控件出现的这个问题,不知怎么回事?
我已在我程序的Stdafx.h中添加了:
#import "..\FindCust\FindCust.tlb" no_namespace#import "C:\program files\common files\system\ado\msado15.dll" no_namespace rename("EOF","adoEOF")
能否请哪位哥们看看这篇文章,改个VC的客户端发给我? [email protected]
谢谢了
#import "..\..\bin\msado15.dll" rename("EOF", "adoEOF")
using namespace ADODB;你试试看看这样行不行
非常谢谢你了, 我是正在学习写ADO和ATL代码做中间层,能否留个MAIL? 我把我学习的例子发给你?拜托了,呵呵
已发到你邮箱了,请查收,拜托了
另能否请你到我另一个帖子接分(标题是一样的)?