• 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 > 我安装了WTL71,编译它自带的例子MTPad,提示编译出错,为什么?

我安装了WTL71,编译它自带的例子MTPad,提示编译出错,为什么?

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

佚名通过本文主要向大家介绍了 我安装了WTL71,编译它自带的例子MTPad,提示编译出错,为什么?等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
问题: 我安装了WTL71,编译它自带的例子MTPad,提示编译出错,为什么?
描述:

我安装了WTL7.1,编译它自带的例子MTPad,提示编译有14个错误。
c:\wtl70\include\atlframe.h(412) : error C2146: syntax error : missing ';' before identifier 'lpnm'
        c:\wtl70\include\atlframe.h(1176) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<TBase,TWinTraits>' being compiled
c:\wtl70\include\atlframe.h(412) : error C2501: 'LPNMREBARCHEVRON' : missing storage-class or type specifiers
        c:\wtl70\include\atlframe.h(1176) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<TBase,TWinTraits>' being compiled
c:\wtl70\include\atlframe.h(412) : error C2501: 'lpnm' : missing storage-class or type specifiers
        c:\wtl70\include\atlframe.h(1176) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<TBase,TWinTraits>' being compiled
c:\wtl70\include\atlframe.h(412) : error C2146: syntax error : missing ';' before identifier 'lpnm'
        c:\wtl70\include\atlframe.h(1312) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<class ATL::CWindow,class ATL::CWinTraits<114229248,262400> >' being compiled
c:\wtl70\include\atlframe.h(412) : error C2501: 'LPNMREBARCHEVRON' : missing storage-class or type specifiers
        c:\wtl70\include\atlframe.h(1312) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<class ATL::CWindow,class ATL::CWinTraits<114229248,262400> >' being compiled
c:\wtl70\include\atlframe.h(412) : error C2501: 'lpnm' : missing storage-class or type specifiers
        c:\wtl70\include\atlframe.h(1312) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<class ATL::CWindow,class ATL::CWinTraits<114229248,262400> >' being compiled
c:\wtl70\include\atldlgs.h(1347) : error C2504: 'IPrintDialogCallback' : base class undefined
        c:\wtl70\include\atldlgs.h(1564) : see reference to class template instantiation 'WTL::CPrintDialogExImpl<T>' being compiled
c:\wtl70\include\atldlgs.h(1351) : error C2146: syntax error : missing ';' before identifier 'm_pdex'
        c:\wtl70\include\atldlgs.h(1564) : see reference to class template instantiation 'WTL::CPrintDialogExImpl<T>' being compiled
c:\wtl70\include\atldlgs.h(1351) : error C2501: 'PRINTDLGEX' : missing storage-class or type specifiers
        c:\wtl70\include\atldlgs.h(1564) : see reference to class template instantiation 'WTL::CPrintDialogExImpl<T>' being compiled
c:\wtl70\include\atldlgs.h(1351) : error C2501: 'm_pdex' : missing storage-class or type specifiers
        c:\wtl70\include\atldlgs.h(1564) : see reference to class template instantiation 'WTL::CPrintDialogExImpl<T>' being compiled
c:\wtl70\include\atldlgs.h(1347) : error C2504: 'IPrintDialogCallback' : base class undefined
        c:\wtl70\include\atldlgs.h(1567) : see reference to class template instantiation 'WTL::CPrintDialogExImpl<class WTL::CPrintDialogEx>' being compiled
c:\wtl70\include\atldlgs.h(1351) : error C2146: syntax error : missing ';' before identifier 'm_pdex'
        c:\wtl70\include\atldlgs.h(1567) : see reference to class template instantiation 'WTL::CPrintDialogExImpl<class WTL::CPrintDialogEx>' being compiled
c:\wtl70\include\atldlgs.h(1351) : error C2501: 'PRINTDLGEX' : missing storage-class or type specifiers
        c:\wtl70\include\atldlgs.h(1567) : see reference to class template instantiation 'WTL::CPrintDialogExImpl<class WTL::CPrintDialogEx>' being compiled
c:\wtl70\include\atldlgs.h(1351) : error C2501: 'm_pdex' : missing storage-class or type specifiers
        c:\wtl70\include\atldlgs.h(1567) : see reference to class template instantiation 'WTL::CPrintDialogExImpl<class WTL::CPrintDialogEx>' being compiled
Error executing cl.exe.
MTPad.exe - 14 error(s), 0 warning(s)
但编译BmpView、GuidGen、MDIDocVw都正常,以它的AppWiz60产生的Project也能编译通过,我用的是vc++6.0,用vc++7.0试过也一样。
另外我已经把wtl的include 包括近来了
1、这是他自带的例子,是不是它那里设置不对?该如何设置?
2、是不是版本太低?


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

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

  • 我安装了WTL71,编译它自带的例子MTPad,提示编译出错,为什么?

相关文章

  • 2017-06-05 在DLL里面可以定义全局的数据以供调用DLL的主程序访问吗?
  • 2017-06-04 VC++60编写的ATL服务(EXE)疑难问题?急!
  • 2017-06-05 如何使用dll中的菜单
  • 2017-06-04 com中如何传递自定义类型的结构数组?
  • 2017-06-04 关于一个activex的问题,在网页中是什么时候创建的
  • 2017-06-04 如何要操作返回的BSTR字符串啊!要求在用bstr=TestMethod
  • 2017-06-04 怎样向ActiveX控件里的按钮控件给加上CToolTipCtrl提示?
  • 2017-06-04 如何将用ATLtestdll开发的控件打包成cab文件?
  • 2017-06-04 各位大侠,给小弟介绍几本ActiveX和COM的书,当然是入门级的了
  • 2017-06-05 vs2005mfc下连接Access及Excel时ADODB::ConnectionOpen失败后创建的对应对虾不能再被使用!

文章分类

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

最近更新的内容

    • Windows安全调整向导
    • 如何在vs2005SetupProject中注册com组件
    • InstallShield70高手
    • 怎么获得程序的内存??
    • 注册COM组建
    • 一个关于修改消息的问题
    • 为什么使用属性页改变固有属性后,控件没反映?
    • 如何用扩展的动态连接库实现非模式对话框
    • 如何让注册的控件在DCOMCNFG对话框中显示出来?
    • atl无窗口exe类型的Com。动态加载第三方的Activex控件后,怎么响应第三方控件己有的事件?

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

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