一直听说fastreport不错,今天从天空软件下了个fr4bcb6.exe,执行安装完后,在开始菜单中有了个 fastreport项,其中有个“recompile wizard” 程序,就选择DELPHI6, 语言选english,程序是提示 “DONE”了,但是打开delphi6
就是没有这个fastreport注册进去,不知道应该如何安装。

解决方案 »

  1.   

    看你的过程应该没错啊    A. Select the compiler 设置为 Delphi6
       B. Select the FR3 Version 设置为 Professional
       C. Select the TeeChart version 设置为 TeeChart77 (如你用的是Delphi7中自带的版本这步可以不改)
       D. What you want to do 下的 Change language To: 设置为:Recompile all packer 点Compile按钮。
       E. What you want to do 下的 Change language To: 设置为:Chinese 再点Compile按钮。  
      

  2.   

    一、环境
    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
    \Source4、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.51、运行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:Enterprise3) Select the TeeChart version:TeeChartStd4)What you want to do:Recompile all packages,并选中With debug info3、点击[Comiple],程序提示重新编译后的文件在D:\EFine\控件\FastReport4.\LibD10
    此时FastReport4.5的目录结构为\Demos
    \Extra
    \FastQB
    \FastScript\LibD10                重新编译后生成
    \Res
    \Source
     
    其中Debug infofqb100.dpk compiledfs10.dpk compiledfsDB10.dpk compiledfsBDE10.dpk compiledfsADO10.dpk compiledfsIBX10.dpk compiledfsTee10.dpk compiledfrx10.dpk compiledfrxDB10.dpk compiledfrxBDE10.dpk compiledfrxADO10.dpk compiledfrxIBX10.dpk compiledfrxDBX10.dpk compiledfrxTee10.dpk compiledfrxe10.dpk compiledfrxcs10.dpk compiled
     dclfs10.dpk compileddclfsDB10.dpk compileddclfsBDE10.dpk compileddclfsADO10.dpk compileddclfsIBX10.dpk compileddclfsTee10.dpk compileddclfrx10.dpk compileddclfrxDB10.dpk compileddclfrxBDE10.dpk compileddclfrxADO10.dpk compileddclfrxIBX10.dpk compileddclfrxDBX10.dpk compileddclfrxTee10.dpk compileddclfrxe10.dpk compileddclfrxcs10.dpk compiledDone
     
      三、安装控件1、运行delphi20062、file\Open Project,选择D:\EFine\控件\FastReport4.\LibD10\dclfrx10.dpk3、在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.dcu2、运行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).
     
      4、中文报表设计器
      

  3.   

    B. Select the FR3 Version 设置为 Professional  ,这部设置成enterprise
      

  4.   

    在菜单Component下面把路径加进去