分类: C/C++
2009-03-10 19:45:51
今天在C6中成功安装了DevExpress.ExpressQuantumGrid.Suite.v5.9 Full Source,安装过程整理如下。
1.必须配套安装XP Theme Manager、ExpressLibrary、ExpressExport Library、ExpressDataController、ExpressEditors Library 5和ExpressPageControl 2,已经安装过的则跳过;
2.把DevExpress.ExpressQuantumGrid.Suite.v5.9包解压到D:\VCLs\ExpressQuantumGrid_Suite_v5.9\下(当然也可以是其他目录,但是后面要保持一致);
3.把各个Packages目录下的所以文件拷贝到其对应的Sources目录下,即:
\XP Theme Manager\Packages -> \XP Theme Manager\Sources
\ExpressLibrary\Packages -> \ExpressLibrary\Sources
\ExpressExport Library\Packages -> \ExpressExport Library\Sources
\ExpressDataController\Packages -> \ExpressDataController\Sources
\ExpressEditors Library 5\Packages -> \ExpressEditors Library 5\Sources
\ExpressPageControl 2\Packages -> \ExpressPageControl 2\Sources
\ExpressQuantumGrid 5\Packages -> \ExpressQuantumGrid 5\Sources
4.用任何文本工具打开ExpressQuantumGrid 5\Sources\dclcxGridVCLC6.cpp,把文件中的USEPACKAGE("cxPageControlC6.bpi")改为USEPACKAGE("cxPageControlVCLC6.bpi");
5.在Borland C++ Builder 6.0中,选择菜单File | Close All(我的习惯);
6.选择菜单Tools | Environment Options...,
6.1 在Environment Variables页中,点击"New..."按钮,在Variable Name右边输入框中输入cxQGrid(或任意其他名字,但后面的设置要与此一致),在Variable Value右边输入框中输入DevExpress.ExpressQuantumGrid.Suite.v5.9包解压后的绝对路径(与第2点保持一致),按"OK";
6.2 还是在Environment Variables页中,点击"New..."按钮,在Variable Name右边输入框中输入LIBDIR(为了安装过程顺利便捷,此处请不要改),在Variable Value右边输入框中输入D:\VCLs\ExpressQuantumGrid_Suite_v5.9\XP Theme Manager\Sources;D:\VCLs\ExpressQuantumGrid_Suite_v5.9\ExpressLibrary\Sources;D:\VCLs\ExpressQuantumGrid_Suite_v5.9\ExpressExport Library\Sources;D:\VCLs\ExpressQuantumGrid_Suite_v5.9\ExpressDataController\Sources;D:\VCLs\ExpressQuantumGrid_Suite_v5.9\ExpressEditors Library 5\Sources;D:\VCLs\ExpressQuantumGrid_Suite_v5.9\ExpressPageControl 2\Sources;D:\VCLs\DevExpress_ExpressQuantumGrid_Suite_v5.9\ExpressQuantumGrid 5\Sources,按"OK";
6.3 点击"Library"切换到Library页,在Library path后面加上:
$(cxQGrid)\XP Theme Manager\Sources;
$(cxQGrid)\ExpressLibrary\Sources;
$(cxQGrid)\ExpressExport Library\Sources;
$(cxQGrid)\ExpressDataController\Sources;
$(cxQGrid)\ExpressEditors Library 5\Sources;
$(cxQGrid)\ExpressPageControl 2\Sources;
$(cxQGrid)\ExpressQuantumGrid 5\Sources;
7.依次编译和安装下面各包:
---安装XP Theme Manager---
\XP Theme Manager\Packages\dxThemeC6.bpk 仅编译
---安装ExpressLibrary---
\ExpressLibrary\Packages\cxLibraryVCLC6.bpk 仅编译
\ExpressLibrary\Packages\dclcxLibraryVCLC6.bpk 编译和安装
---安装ExpressExport Library---
\ExpressExport Library\Packages\cxExportVCLC6.bpk 仅编译
---安装ExpressDataController---
\ExpressDataController\Packages\cxDataC6.dpk 仅编译
\ExpressDataController\Packages\cxADOAdaptersC6.dpk 仅编译
\ExpressDataController\Packages\cxBDEAdaptersC6.bpk 仅编译
\ExpressDataController\Packages\cxIBXAdaptersC6.bpk 仅编译
---安装ExpressEditors Library 5---
\ExpressEditors Library 5\Packages\cxEditorsVCLC6.bpk 仅编译
\ExpressEditors Library 5\Packages\cxExtEditorsVCLC6.bpk 仅编译
\ExpressEditors Library 5\Packages\dclcxEditorsVCLC6.bpk 编译和安装
\ExpressEditors Library 5\Packages\dclcxExtEditorsVCLC6.bpk 编译和安装
---安装ExpressPageControl 2---
\ExpressPageControl 2\Packages\cxPageControlVCLC6.bpk 仅编译
\ExpressPageControl 2\Packages\dclcxPageControlVCLC6.bpk 编译和安装
---安装ExpressQuantumGrid 5---
\ExpressQuantumGrid 5\Packages\cxGridVCLC6.bpk 仅编译
\ExpressQuantumGrid 5\Packages\dclcxGridVCLC6.bpk 编译和安装
8.恭喜你,你安装成功了!