解决DevExpress控件安装问题

原创|其它|编辑:郝浩|2007-10-19 09:42:07.000|阅读 5614 次

概述:

# 界面/图表报表/文档/IDE等千款热门软控件火热销售中 >>

     今天安装 DevExpress 的时候总出问题,很难过,以前很顺利的就走下来了,不知今天为什么!总是报 cxExtEditorsvcld7.bpl 无法正常打开!安装了好几次,都一样,应该不是源文件损坏,因为以前安装过,没问题。而且其他控件可正常安装,只有这个报错。实在找不到问题原因,上网查了半天,终于找到一位仁兄写的方法,简直太崇拜他了,在此,郑重感谢这位仁兄帮我解决了问题。为了更多人获益,我转到这里,以下内容为转帖:»更多DevExpress开发资源与帮助文档

     1.如果运行 Delphi_7,则先关闭。
    
     2.通过运行 ExpressQuantumGrid_Suite_v5.0_Full_Source_Code_for_Delphi_7控件包中的 Setup.exe 来进行正常安装。
    
     3.删除操作系统的$(System32) 目录中的以下文件:
    
     cxExtEditorsVCLD7.bpl
     dclcxExtEditorsVCLD7.bpl
    
    
     4.运行 Delphi_7,启动中警告 dclExtEditorVCLD7包不能加载,选择以后不再加载。
    
     5.在 Delphi_7中通过 Component->Install Packages..菜单路径把所有 Express 包删除。
    
     6.在 Delphi_7中通过 Tools->Environment Options->Library->Library path 菜单路径打开 Diredtories 窗口。
    
     将这些路径删除:
     ......\Developer Express Inc\ExpressDataController\Delphi 7\Lib
     ......\Developer Express Inc\XP Theme Manager\Delphi 7\Lib
     ......\Developer Express Inc\CX Library\Delphi 7\Lib
     ......\Developer Express Inc\ExpressEditors Library 5\Delphi 7\Lib
     ......\Developer Express Inc\ExpressPageControl 2\Delphi 7\Lib
     ......\Developer Express Inc\ExpressQuantumGrid 5\Delphi 7\Lib
    
     添加这些路径:
     ......\Developer Express Inc\ExpressDataController\Delphi 7\Sources
     ......\Developer Express Inc\XP Theme Manager\Delphi 7\Sources
     ......\Developer Express Inc\CX Library\Delphi 7\Sources
     ......\Developer Express Inc\ExpressEditors Library 5\Delphi 7\Sources
     ......\Developer Express Inc\ExpressPageControl 2\Delphi 7\Sources
     ......\Developer Express Inc\ExpressQuantumGrid 5\Delphi 7\Sources
    
     7.在 Delphi_7打开 ExpressEditors Library 5\Delphi 7\Sources\cxEditorsVCLD7.dpk,编译但不要安装。
    
     8.在 Delphi_7打开 ExpressEditors Library 5\Delphi 7\Sources\dclcxEditorsVCLD7.dpk,编译并安装。
    
     9.在 Delphi_7打开 ExpressEditors Library 5\Delphi 7\Sources\cxExtEditorsVCLD7.dpk,从包管理器中打开 cxRichEdit.pas 单元,进行以下


     修改

    
     1821行,从:
     if HandleAllocated and Container.ActiveProperties.MemoMode then
     改为:
     if HandleAllocated and (Container <> nil) and Container.ActiveProperties.MemoMode then
     就行了。
    
     保守后关闭 cxRichEdit.pas,编译 cxExtEditorsVCLD7.dpk 但不要安装。
    
     10.把$(DELPHI)\Projects\Bpl 目录中编译得到的 cxExtEditorsVCLD7.bpl 拷贝到操作系统的$(System) 目录中。
    
     11.在 Delphi_7打开 ExpressEditors Library 5\Delphi 7\Sources\dclcxExtEditorsVCLD7.dpk,编译并安装。
    
     12.把$(DELPHI)\Projects\Bpl 目录中编译得到的 dclcxExtEditorsVCLD7.bpl 拷贝到$(System) 目录中。
    
     13.在 Delphi_7打开 ExpressPageControl 2\Delphi 7\Sources\cxPageControlVCLD7.dpk,编译但不要安装。
    
     14.在 Delphi_7打开 ExpressPageControl 2\Delphi 7\Sources\dclcxPageControlVCLD7.dpk,编译并安装。
    
     15.在 Delphi_7打开 ExpressQuantumGrid 5\Delphi 7\Sources\cxExportVCLD7.dpk,编译但不要安装。
    
     16.在 Delphi_7打开 ExpressQuantumGrid 5\Delphi 7\Sources\cxGridVCLD7.dpk,编译但不要安装。
    
     17.在 Delphi_7打开 ExpressQuantumGrid 5\Delphi 7\Sources\dclcxGridVCLD7.dpk,编译并安装。
    
     控件包安装成功!
    
     打开\ExpressQuantumGrid 5\Delphi 7\Demos 中的各个 Demo,编译后可以运行!
     其中:
     ConvertGrid3Demo 和 ConvertGrid3MasterDetailDemo 还必须同时安装
     “DevExpress ExpressQuantumGrid Suite v3.22 for Delphi7”,才行!



(慧都控件网版权所有,转载请注明出处,否则追究法律责任)


标签:

本站文章除注明转载外,均为本站原创或翻译。欢迎任何形式的转载,但请务必注明出处、不得修改原文相关链接,如果存在内容上的异议请邮件反馈至chenjj@evget.com

文章转载自:csdn

为你推荐

  • 推荐视频
  • 推荐活动
  • 推荐产品
  • 推荐文章
  • 慧都慧问
扫码咨询


添加微信 立即咨询

电话咨询

客服热线
023-68661681

TOP