重新编译 Decision cube打开Source\DECISION CUBE\MXREG.PAS,
将 USES 里的CHARTREG 改为 TEECHARTREG ,然后编译,编译后放入库

解决方案 »

  1.   

    不行呀,编译报错:
    [Fatal Error] MXREG.PAS(14): Unit TeeChartReg was compiled with a different version of TeEngine.TChartSeries
      

  2.   

    这个是 Delphi 6 下的解决方法:Steema Software SL
    Rebuilding Borland's Decision Cube packages in Delphi 6.
    ---------------------------------------------------------When TeeChart Pro 5 is installed in Delphi 6, the Decision
    Cube packages are automatically disabled because TeeChart
    Pro 5 packages are different to the ones included by 
    default in Delphi 6.With the release of Delphi 6 Enterprise, source
    code files for the Decision Cube components are included,
    so it's possible to recompile the Decision Cube packages
    using TeeChart Pro 5 following these steps:Instructions to recompile:1. Download and install TeeChart Pro v5 for Delphi 6.
       (Available at www.steema.com, Customer Downloads)2. Select "Components->Install packages" in Delphi 6, and remove
       "Borland Decision Cube components" with the "Remove button.3. Locate the Decision Cube source code. It should be in the Delphi6
       \Source\Decision Cube directory.4. Open the DSS.dpk package and recompile. 
       If you get a complaint about "always built package with the newer built...",
       then click on "Options" speed button and change:
       "Build control" to "Rebuild as needed", and recompile.5. Copy the new DSS60.bpl to Windows \System directory. Copy all 
       newly compiled *.dcu and *.dcp files to the Delphi6 \Lib directory. 6. Open the DclDSS.dpk package. 
       Change "Build control" to "Rebuild as needed" and recompile.7. Copy the newly recompiled DclDSS60.bpl to Delphi6 \Bin directory 
       and newly compiled *.dcu and *.dcp files to Delphi6 \Lib directory.8. Select "Component->Install packages" menu and click the "Add" button.
       Then select the new DclDSS60.bpl package, located in 
       Delphi6 \Bin directory.