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. If you're using a version of RAD Studio not shown below, you may need to add an additional {$IFDEF VERxxx} block, see Compiler Versions.
    {$IFDEF VER320} // Embarcadero Delphi XE10.2 Tokyo
    {$DEFINE COMPILER_24_UP}
    {$DEFINE COMPILER_23_UP}
    {$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 VER310} // Embarcadero Delphi XE10.1 Berlin
    {$DEFINE COMPILER_23_UP}
    {$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 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

... The conclusion cannot be an other one than to state that if you are looking for a planning component you have to get the RAC. For your future planning business it is simply a must.
H. de Boer, Staaf Automatisering (see the full case study)
More …

No malware No spam
McAfee Site Report
Web of Trust