delphi fastreport4 安装

一、环境
1、Delphi 2006 (Version10.0.2151.25345)
2、FastReport4.5 full source,下载地址(www.ccrun.com)
这个版本支持Delphi 4~7, 2005, C++Builder 4~6, BDS2006, RAD Studio 2007
3、目录结构D:\EFine\控件\FastReport4.5,解压后目录结构如下:

\Demos
\Extra
\FastQB
\FastScript
\Res
\Source

4、FastReport4.5包括

fs*.dpk    - FastScript, main package
fsDB*.dpk  - FastScript, DB classes and controls
fsBDE*.dpk  - FastScript, BDE components
fsADO*.dpk  - FastScript, ADO components
fsIBX*.dpk  - FastScript, IBX components
fsTee*.dpk  - FastScript, TeeChart components
frx*.dpk    - FastReport, main package
frxDB*.dpk  - FastReport, TDataSet wrapper (TfrxDBDataSet)
frxIBO*.dpk - FastReport, IB_Objects wrapper (TfrxIBODataSet)
frxBDE*.dpk - FastReport, end-user BDE components
frxADO*.dpk - FastReport, end-user ADO components
frxIBX*.dpk - FastReport, end-user IBX components
frxDBX*.dpk - FastReport, end-user DBX components
frxTee*.dpk - FastReport, TeeChart components
frxe*.dpk  - FastReport, export filters

二、重新编译FastReport4.5

1、运行D:\EFine\控件\FastReport4.5\recompile.exe,出现编译前的警告窗口:
您需要确认的是:

1) 您有写系统目录Windows\System32的权限;

2) 您未运行Delphi或者C++Builder;

3) 您未运行使用到FastReport或者是Fastscript runtime包的程序;

2、点击[Continue],出现编译选择选项窗口:

1) Select the compiler:选择 BDS 2006(Delphi, C++), Turbo Delphi/C++ Prof.

2) Select the FastReport version:Enterprise

3) Select the TeeChart version:TeeChartStd

4)What you want to do:Recompile all packages,并选中With debug info

3、点击[Comiple],程序提示重新编译后的文件在D:\EFine\控件\FastReport4.\LibD10
此时FastReport4.5的目录结构为

\Demos
\Extra
\FastQB
\FastScript

\LibD10                重新编译后生成
\Res
\Source



其中Debug info

fqb100.dpk compiled

fs10.dpk compiled

fsDB10.dpk compiled

fsBDE10.dpk compiled

fsADO10.dpk compiled

fsIBX10.dpk compiled

fsTee10.dpk compiled

frx10.dpk compiled

frxDB10.dpk compiled

frxBDE10.dpk compiled

frxADO10.dpk compiled

frxIBX10.dpk compiled

frxDBX10.dpk compiled

frxTee10.dpk compiled

frxe10.dpk compiled

frxcs10.dpk compiled
dclfs10.dpk compiled

dclfsDB10.dpk compiled

dclfsBDE10.dpk compiled

dclfsADO10.dpk compiled

dclfsIBX10.dpk compiled

dclfsTee10.dpk compiled

dclfrx10.dpk compiled

dclfrxDB10.dpk compiled

dclfrxBDE10.dpk compiled

dclfrxADO10.dpk compiled

dclfrxIBX10.dpk compiled

dclfrxDBX10.dpk compiled

dclfrxTee10.dpk compiled

dclfrxe10.dpk compiled

dclfrxcs10.dpk compiled

Done







三、安装控件

1、运行delphi2006

2、file\Open Project,选择D:\EFine\控件\FastReport4.\LibD10\dclfrx10.dpk

3、在Project Manager里右键dclfrx10.bpl,选择Install

4、dclfrx10注册完成提示

其它的空间包注册,请参考2、3、4步骤。

5、添加Library路径

在delphi2006里,选择Tools\Options,出现Options窗口:


将D:\EFine\控件\FastReport4.\LibD10添加到Library path中。




四、中文语言资源的安装

1、在目录FastReport4.5\LibD10下删除以下文件:
- frxrcClass.dcu
- frxrcDesgn.dcu
- frxrcInsp.dcu
- frxrcExports.dcu

2、运行FastReport4.5\res\chinese\mk.bat,它将从.frc文件make成.pas文件并拷贝到相关的FR文件夹里。

3、运行FastReport4.5目录下的recompile.exe,具体的步骤参考

英文说明(\res\chinese\install_res.txt)

1. Remove the following files from the FastReport 4\Lib folder:
- frxrcClass.dcu
- frxrcDesgn.dcu
- frxrcInsp.dcu
- frxrcExports.dcu

2. Go folder with desired language and run mk.bat file. This will make
.pas files from .frc files and copy them to all necessary FR folders.

3. Recompile the FastReport packages (see install.txt file,
section III or IV). Only frx*.dpk, frxe*.dpk packages need to
be recompiled ('*' = your Delphi version).

下载地址:http://download.csdn.net/detail/trassion/4697039

你可能感兴趣的:(library,Delphi,compiler,wrapper,Components)