ADO程序不认识_ConnectionPtr m_pConnect;指针
来源:互联网 发布:coc挂机软件 编辑:程序博客网 时间:2024/04/29 02:08
今天一天都在尝试把自己的程序ADO连接数据库,本来介绍的很简单的几部,我却一直有错误。
错误是:基本步骤都肯定完成后,ADO程序不认识_ConnectionPtr m_pConnect;指针,
error C2146: syntax error : missing ';' before identifier 'm_pConnection'
error C2501: '_ConnectionPtr' : missing storage-class or type specifiers
error C2501: 'm_pConnection' : missing storage-class or type specifiers
晚上的时候终于在论坛上看到,原来遇到这种情况,只要重新编译一下stdafx.cpp文件,(或是rebuild all)就可以了。
真是郁闷,浪费了一天的时间在这里。记住这一点哦!
- ADO程序不认识_ConnectionPtr m_pConnect;指针
- 使用ADO智能指针_ConnectionPtr,_CommandPtr及_RecordsetPtr
- 使用ADO智能指针_ConnectionPtr,_CommandPtr及_RecordsetPtr
- ADO接口之_ConnectionPtr
- ADO接口之_ConnectionPtr
- ADO接口之_ConnectionPtr
- ADO接口之_ConnectionPtr
- ADO:_ConnectionPtr,_RecordsetPtr,_CommandPtr
- ADO接口之_ConnectionPtr
- ADO接口之_ConnectionPtr
- ADO接口之_ConnectionPtr
- ADO&VC一]使用ADO智能指针_ConnectionPtr,_CommandPtr及_RecordsetPtr
- 【VC++ 中使用ADO操作数据库学习笔记】_ConnectionPtr指针的基本用法
- VC++下使用ADO操作数据库的智能指针_ConnectionPtr、_RecordsetPtr、_CommandPtr的方法
- VC++下使用ADO操作数据库的智能指针_ConnectionPtr、_RecordsetPtr、_CommandPtr的方法
- VC++下使用ADO操作数据库的智能指针_ConnectionPtr、_RecordsetPtr、_CommandPtr的方法
- VC++下使用ADO操作数据库的智能指针_ConnectionPtr、_RecordsetPtr、_CommandPtr的方法
- VC++下使用ADO操作数据库的智能指针_ConnectionPtr、_RecordsetPtr、_CommandPtr的方法
- 有点懒惰了
- 新的生活
- 科研资助金项目开始了
- 计算机达人成长之路(22)
- SCJP考试复习笔记1
- ADO程序不认识_ConnectionPtr m_pConnect;指针
- 嘿嘿
- SQL Server 2008中创建模式出现权限错误
- 学习
- 思索
- ASP.NET的一些常用的方法
- fighting~~~
- 在线编辑器fckeditor的学习使用
- TT