一,准備工作。
1.1安裝Delphi2010。
1.2獲得FastReport 4.9.31。
二,FastReport文件夾下LibD14目錄添加到Delphi中的Library Path
步驟:1,打開Delphi2010,打開菜單Tools->Options。 2,左側點擊Delphi Options的+號,點擊Library-win32
3,在右側框中找到Library Path,將FastReport->LibD14路徑粘貼至該文本框的末尾,粘貼之前輸入分號(;)。
三,生成FastReport漢化文件
步驟:1,運行"recompile.exe"文件,設置相應選項,我的設置如下:
1,Select the compiler 設置為 Embarcadero Rad Studio 2010(Delphi,C++)。(默認值)
2,Select the FastReport Version 設置為 Enterprise。(默認值)
3,Select the TeeChart version 設置為 TeeChartStd。(默認值)
4,What you want to do 下的 Change language To: 設置為 Chinese 。(自己選擇)
四,編譯運行時包。
步驟:1,在Delphi中打開(File->Open)菜單。
2,編譯,打開如下DPK后,在Delphi中的IDE右側Project Manager選中該Project右鍵單擊,然后點擊Compile。
- FastReport\LibD14\fqb140.dpk
- FastReport\LibD14\fs14.dpk
- FastReport\LibD14\fsDB14.dpk
- FastReport\LibD14\fsBDE14.dpk
- FastReport\LibD14\fsADO14.dpk
- FastReport\LibD14\fsIBX14.dpk
- FastReport\LibD14\frx14.dpk
- FastReport\LibD14\frxDB14.dpk
- FastReport\LibD14\frxADO14.dpk
- FastReport\LibD14\frxBDE14.dpk
- FastReport\LibD14\frxIBX14.dpk
- FastReport\LibD14\frxDBX14.dpk
- FastReport\LibD14\frxe14.dpk
- FastReport\LibD14\frxcs14.dpk 這個是FastReport的Client/Server,如不需要則不需編譯此文件
四,編譯並安裝Dcl。
步驟:1,在Delphi中打開(File->Open)菜單。
2,編譯,打開如下DPK后,在Delphi中的IDE右側Project Manager選中該Project右鍵單擊,然后點擊Compile,接着在彈出的右鍵菜單中點擊Install。
- FastReport\LibD14\dclfs14.dpk
- FastReport\LibD14\dclfsDB14.dpk
- FastReport\LibD14\dclfsBDE14.dpk
- FastReport\LibD14\dclfsADO14.dpk
- FastReport\LibD14\dclfsIBX14.dpk
- FastReport\LibD14\dclfrx14.dpk
- FastReport\LibD14\dclfrxDB14.dpk
- FastReport\LibD14\dclfrxADO14.dpk
- FastReport\LibD14\dclfrxBDE14.dpk
- FastReport\LibD14\dclfrxIBX14.dpk
- FastReport\LibD14\dclfrxDBX14.dpk
- FastReport\LibD14\dclfrxe14.dpk
- FastReport\LibD14\dclfrxcs14.dpk 這個是FastReport的Client/Server,如不需要則不需編譯、安裝此文件。
五、安裝結束。