小弟我创建了单文档结构程序,在stdAfx.h中加入了
#import "c:\program files\common files\system\ado\msado15.dll" no_namespace rename("EOF","adoEOF")在C**App::InitInstance() 中做:
AfxOleInit();然后在C**View中声明成员变量:
_ConnectionPtr pCon;可是编译不通过, 错误为
'_ConnectionPtr' : missing storage-class or type specifiers
没有_ConnectionPtr这个类, 但是我已经在C**View文件中#include "stdAfx.h"头文件
这究竟是什么问题造成的呢?