How do I install ResourceAllocationChart in recent versions of Embarcadero RAD Studio?


Although the component is fully compatible with all current versions of Embarcadero RAD Studio, the install kit doesn't contain pre-built packages for versions after XE5. But installing the component in later versions of RAD studio is a very simple process that requires only three steps.

  1. Edit SsResourceAllocationChart.pas and SsResourceAllocationChartReg.pas, and insert the text below just above the similar statements.
    {$IFDEF VER300} // Embarcadero RAD Studio 10 Seattle
    {$DEFINE COMPILER_22_UP}
    {$DEFINE COMPILER_21_UP}
    {$DEFINE COMPILER_20_UP}
    {$DEFINE COMPILER_19_UP}
    {$DEFINE COMPILER_18_UP}
    {$DEFINE COMPILER_17_UP}
    {$DEFINE COMPILER_16_UP}
    {$DEFINE COMPILER_15_UP}
    {$DEFINE COMPILER_14_UP}
    {$DEFINE COMPILER_13_UP}
    {$DEFINE COMPILER_12_UP}
    {$DEFINE COMPILER_11_UP}
    {$DEFINE COMPILER_10_UP}
    {$DEFINE COMPILER_9_UP}
    {$DEFINE COMPILER_8_UP}
    {$DEFINE COMPILER_7_UP}
    {$DEFINE COMPILER_6_UP}
    {$DEFINE COMPILER_5_UP}
    {$DEFINE COMPILER_4_UP}
    {$ENDIF}
    
    {$IFDEF VER290} // Embarcadero RAD Studio XE8
    {$DEFINE COMPILER_21_UP}
    {$DEFINE COMPILER_20_UP}
    {$DEFINE COMPILER_19_UP}
    {$DEFINE COMPILER_18_UP}
    {$DEFINE COMPILER_17_UP}
    {$DEFINE COMPILER_16_UP}
    {$DEFINE COMPILER_15_UP}
    {$DEFINE COMPILER_14_UP}
    {$DEFINE COMPILER_13_UP}
    {$DEFINE COMPILER_12_UP}
    {$DEFINE COMPILER_11_UP}
    {$DEFINE COMPILER_10_UP}
    {$DEFINE COMPILER_9_UP}
    {$DEFINE COMPILER_8_UP}
    {$DEFINE COMPILER_7_UP}
    {$DEFINE COMPILER_6_UP}
    {$DEFINE COMPILER_5_UP}
    {$DEFINE COMPILER_4_UP}
    {$ENDIF}
    
    {$IFDEF VER280} // Embarcadero RAD Studio XE7
    {$DEFINE COMPILER_20_UP}
    {$DEFINE COMPILER_19_UP}
    {$DEFINE COMPILER_18_UP}
    {$DEFINE COMPILER_17_UP}
    {$DEFINE COMPILER_16_UP}
    {$DEFINE COMPILER_15_UP}
    {$DEFINE COMPILER_14_UP}
    {$DEFINE COMPILER_13_UP}
    {$DEFINE COMPILER_12_UP}
    {$DEFINE COMPILER_11_UP}
    {$DEFINE COMPILER_10_UP}
    {$DEFINE COMPILER_9_UP}
    {$DEFINE COMPILER_8_UP}
    {$DEFINE COMPILER_7_UP}
    {$DEFINE COMPILER_6_UP}
    {$DEFINE COMPILER_5_UP}
    {$DEFINE COMPILER_4_UP}
    {$ENDIF}
    
    {$IFDEF VER270} // Embarcadero RAD Studio XE6
    {$DEFINE COMPILER_19_UP}
    {$DEFINE COMPILER_18_UP}
    {$DEFINE COMPILER_17_UP}
    {$DEFINE COMPILER_16_UP}
    {$DEFINE COMPILER_15_UP}
    {$DEFINE COMPILER_14_UP}
    {$DEFINE COMPILER_13_UP}
    {$DEFINE COMPILER_12_UP}
    {$DEFINE COMPILER_11_UP}
    {$DEFINE COMPILER_10_UP}
    {$DEFINE COMPILER_9_UP}
    {$DEFINE COMPILER_8_UP}
    {$DEFINE COMPILER_7_UP}
    {$DEFINE COMPILER_6_UP}
    {$DEFINE COMPILER_5_UP}
    {$DEFINE COMPILER_4_UP}
    {$ENDIF}
    
  2. Start RAD Studio, and open, say the XE5 package. Allow the IDE to update the package to the current version. Save it, perhaps giving it a new name to indicate which version of RAD Studio it is for.
  3. Click the button on the toolbar to rebuild, and install the package.
What People Say

I did want to drop you a note and tell you what a wonderful component. It's a must have component if you are a serious Delphi developer.
Miguel Henley, Brazil
More …

No malware No spam
McAfee Site Report
Web of Trust