/// Only use for D3 or Higher
{$IFDEF VER110} /// Delphi 3
{$DEFINE D3}
{$ELSE} /// Delphi 4 or Higher
{$DEFINE D3UP}
{$IFDEF VER120} /// Delphi 4
{$DEFINE D4}
{$ELSE} /// Delphi 4 or Higher
{$DEFINE D4UP}
{$IFDEF VER130} /// Delphi 5
{$DEFINE D5}
{$ELSE} /// Delphi 5 or Higher
{$DEFINE D5UP}
{$IFDEF VER140} /// Delphi 6
{$DEFINE D6}
{$ELSE} /// Delphi 6 or Higber
{$DEFINE D6UP}
{$IFDEF VER150} /// Delphi 7
{$DEFINE D7}
{$ELSE} /// Delphi 8 or Higher
{$DEFINE D7UP}
{$ENDIF} /// IF Ver150
{$ENDIF} /// IF Ver140
{$ENDIF} /// IF Ver130
{$ENDIF} /// IF Ver120
{$ENDIF} /// IF Ver110