您的位置:资讯频道 > 技术文档 > CLX/VCL开发

解决DevExpress控件安装问题

来源:csdn 作者:混世者 时间:2007-10-19 点击:997 次

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

     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”,才行!

相关文章:

    暂无相关新闻。

资讯搜索

 

推荐产品

VARCHART XGantt
全球知名的甘特图控件,能够实现如 Microsoft Project 般强大的项目管理功能。
TurboDemo 中文版
TurboDemo - 抓取屏幕截图并通过动态演示示例及手册解释软件、个人电脑应用程序、网站与产品。
BCGControlBar Library .NET Edition
该组件包含大量可自定义程度高、可设计性好的组件,使用户可创建精致美观的图形用户界面。