• linkedu视频
  • 平面设计
  • 电脑入门
  • 操作系统
  • 办公应用
  • 电脑硬件
  • 动画设计
  • 3D设计
  • 网页设计
  • CAD设计
  • 影音处理
  • 数据库
  • 程序设计
  • 认证考试
  • 信息管理
  • 信息安全
菜单
linkedu.com
  • 网页制作
  • 数据库
  • 程序设计
  • 操作系统
  • CMS教程
  • 游戏攻略
  • 脚本语言
  • 平面设计
  • 软件教程
  • 网络安全
  • 电脑知识
  • 服务器
  • 视频教程
  • JavaScript
  • ASP.NET
  • PHP
  • 正则表达式
  • AJAX
  • JSP
  • ASP
  • Flex
  • XML
  • 编程技巧
  • Android
  • swift
  • C#教程
  • vb
  • vb.net
  • C语言
  • Java
  • Delphi
  • 易语言
  • vc/mfc
  • 嵌入式开发
  • 游戏开发
  • ios
  • 编程问答
  • 汇编语言
  • 微信小程序
  • 数据结构
  • OpenGL
  • 架构设计
  • qt
  • 微信公众号
您的位置:首页 > 程序设计 >vc/mfc > ADOC2259:'_Connection':cannotinstantiateabstractclass

ADOC2259:'_Connection':cannotinstantiateabstractclass

作者:佚名 字体:[增加 减小] 来源:互联网 时间:2017-06-04

佚名通过本文主要向大家介绍了x27,helio x27,联发科x27,cb x27,msm7x27驱动下载等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
问题: ADO C2259: '_Connection' : cannot instantiate abstract class
描述:

ainFrm.cpp
e:\cpptest\pointtopic\mainfrm.cpp(4) : warning C4652: compiler option 'Generate Browser Info' inconsistent with precompiled header; current command-line option will override that defined in the precompiled header
e:\cpptest\pointtopic\debug\msado15.tlh(407) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
e:\cpptest\pointtopic\pointtopic.h(29) : error C2259: '_Connection' : cannot instantiate abstract class due to following members:
        e:\cpptest\pointtopic\debug\msado15.tlh(1261) : see declaration of '_Connection'
e:\cpptest\pointtopic\pointtopic.h(29) : warning C4259: 'long __stdcall IUnknown::QueryInterface(const struct _GUID &,void ** )' : pure virtual function was not defined
        c:\program files\microsoft visual studio\vc98\include\unknwn.h(109) : see declaration of 'QueryInterface'
e:\cpptest\pointtopic\pointtopic.h(29) : warning C4259: 'unsigned long __stdcall IUnknown::AddRef(void)' : pure virtual function was not defined
        c:\program files\microsoft visual studio\vc98\include\unknwn.h(113) : see declaration of 'AddRef'
e:\cpptest\pointtopic\pointtopic.h(29) : warning C4259: 'unsigned long __stdcall IUnknown::Release(void)' : pure virtual function was not defined
        c:\program files\microsoft visual studio\vc98\include\unknwn.h(115) : see declaration of 'Release'
e:\cpptest\pointtopic\pointtopic.h(29) : warning C4259: 'long __stdcall IDispatch::GetTypeInfoCount(unsigned int *)' : pure virtual function was not defined
        c:\program files\microsoft visual studio\vc98\include\oaidl.h(2697) : see declaration of 'GetTypeInfoCount'
e:\cpptest\pointtopic\pointtopic.h(29) : warning C4259: 'long __stdcall IDispatch::GetTypeInfo(unsigned int,unsigned long,struct ITypeInfo ** )' : pure virtual function was not defined
        c:\program files\microsoft visual studio\vc98\include\oaidl.h(2700) : see declaration of 'GetTypeInfo'
e:\cpptest\pointtopic\pointtopic.h(29) : warning C4259: 'long __stdcall IDispatch::GetIDsOfNames(const struct _GUID &,unsigned short ** ,unsigned int,unsigned long,long *)' : pure virtual function was not defined
        c:\program files\microsoft visual studio\vc98\include\oaidl.h(2705) : see declaration of 'GetIDsOfNames'
e:\cpptest\pointtopic\pointtopic.h(29) : warning C4259: 'long __stdcall IDispatch::Invoke(long,const struct _GUID &,unsigned long,unsigned short,struct tagDISPPARAMS *,struct tagVARIANT *,struct tagEXCEPINFO *,unsigned int *)' : pure virtual functio
n was not defined
        c:\program files\microsoft visual studio\vc98\include\oaidl.h(2712) : see declaration of 'Invoke'
e:\cpptest\pointtopic\pointtopic.h(29) : warning C4259: 'long __stdcall _ADO::get_Properties(struct Properties ** )' : pure virtual function was not defined
        e:\cpptest\pointtopic\debug\msado15.tlh(845) : see declaration of 'get_Properties'
e:\cpptest\pointtopic\pointtopic.h(29) : warning C4259: 'long __stdcall Connection15::get_ConnectionString(unsigned short ** )' : pure virtual function was not defined
        e:\cpptest\pointtopic\debug\msado15.tlh(1196) : see declaration of 'get_ConnectionString'
e:\cpptest\pointtopic\pointtopic.h(29) : warning C4259: 'long __stdcall Connection15::put_ConnectionString(unsigned short *)' : pure virtual function was not defined
        e:\cpptest\pointtopic\debug\msado15.tlh(1198) : see declaration of 'put_ConnectionString'
e:\cpptest\pointtopic\pointtopic.h(29) : warning C4259: 'long __stdcall Connection15::get_CommandTimeout(long *)' : pure virtual function was not defined
        e:\cpptest\pointtopic\debug\msado15.tlh(1200) : see declaration of 'get_CommandTimeout'
e:\cpptest\pointtopic\pointtopic.h(29) : warning C4259: 'long __stdcall Connection15::put_CommandTimeout(long)' : pure virtual function was not defined
        e:\cpptest\pointtopic\debug\msado15.tlh(1202) : see declaration of 'put_CommandTimeout'
e:\cpptest\pointtopic\pointtopic.h(29) : warning C4259: 'long __stdcall Connection15::get_ConnectionTimeout(long *)' : pure virtual function was not defined
        e:\cpptest\pointtopic\debug\msado15.tlh(1204) : see declaration of 'get_ConnectionTimeout'
e:\cpptest\pointtopic\pointtopic.h(29) : warning C4259: 'long __stdcall Connection15::put_ConnectionTimeout(long)' : pure virtual function was not defined
        e:\cpptest\pointtopic\debug\msado15.tlh(1206) : see declaration of 'put_ConnectionTimeout'
e:\cpptest\pointtopic\pointtopic.h(29) : warning C4259: 'long __stdcall Connection15::get_Version(unsigned short ** )' : pure virtual function was not defined
        e:\cpptest\pointtopic\debug\msado15.tlh(1208) : see declaration of 'get_Version'
e:\cpptest\pointtopic\pointtopic.h(29) : warning C4259: 'long __stdcall Connection15::raw_Close(void)' : pure virtual function was not defined
        e:\cpptest\pointtopic\debug\msado15.tlh(1210) : see declar

分享到:QQ空间新浪微博腾讯微博微信百度贴吧QQ好友复制网址打印

您可能想查找下面的文章:

  • Cann'topen\def问题
  • 哪里去找'xmldomidl'这个文件啊
  • 在DEV-CPP中编译建立快捷方式代码出现incompatibletypeforargument1of`CoCreateInstance'
  • 'CVcPlot'undefined引用MS_chart的问题??急,多谢
  • 如何在ATL中的RGS脚本文件中加入二进制项值?在使用valxx=b'01,02'中若很长的话就可能失败??
  • VC2005创建ActiveX控件,“无法找到'tstcon32exe'的调试信息”??
  • 在com组件的参数中,如果是BSTR类型输出的,能传输'\0'这个字符吗?
  • 求助,'Parameter':redefinition;differentuuidspecifiers
  • errorC2509:'GetEventSinkMap':memberfunctionnotdeclared
  • 简单问题——'CoUnitialize':undeclaredidentifier

相关文章

  • 2017-06-04 ATL初学者,各位能否推荐几本入门电子书籍
  • 2017-06-04 大家好,我有一个基于对话框的App,如果要把它改为能嵌在IE里面运行的COM对象,该怎么做呢?
  • 2017-06-04 只要有思路就来说一句-->开发类似ADOmsado15dll这样的COM组件,主要想实现RecordsetFields0Item这样的调用
  • 2017-06-04 我在atl服务程序中加入了一个atl对话框出现下面错误,如何解决?
  • 2017-06-05 求操作顾显和钱箱的activex
  • 2017-06-04 我的CEdit不处理键盘光标键,怎么办?
  • 2017-06-05 求程序!!线程通信!!!!
  • 2017-06-05 在一个窗口程序中如何启动一个控制台程序?急!!!
  • 2017-06-04 设置图片的大小
  • 2017-06-04 关于DCOM的简单问题,有点晕,望兄弟姐妹们指点~~~

文章分类

  • JavaScript
  • ASP.NET
  • PHP
  • 正则表达式
  • AJAX
  • JSP
  • ASP
  • Flex
  • XML
  • 编程技巧
  • Android
  • swift
  • C#教程
  • vb
  • vb.net
  • C语言
  • Java
  • Delphi
  • 易语言
  • vc/mfc
  • 嵌入式开发
  • 游戏开发
  • ios
  • 编程问答
  • 汇编语言
  • 微信小程序
  • 数据结构
  • OpenGL
  • 架构设计
  • qt
  • 微信公众号

最近更新的内容

    • VB中怎样调用VC写的COM式的DLL
    • 用VC写的ActiveX控件,在Dephi中调用时的奇怪现象
    • ActiveX控件发布在iis上,XP的IE无法访问,2k的IE可以!高分求助!
    • ★★★请教高手:非MFC的DLL中如何加入对话框啊???我只会MFC的DLL加入对话框。
    • 关于多线程的疑问——线程运行完后,是否可以自己KILL掉自己?
    • 线程怎么多了一个?一个简洁的问题
    • 请教一个安装程序过程中重新启动系统的问题!!!
    • 请大侠们来看看这个error是什么意思?
    • 使用TeeChart控件如何从txt文件中导入数据?
    • ATL中如何输出动态字符串数组?

关于我们 - 联系我们 - 免责声明 - 网站地图

©2020-2025 All Rights Reserved. linkedu.com 版权所有