{$J+}
{$R-}
{$B-}
{$C+}

{$DEFINE TMSNOADO}
{$DEFINE TMSPACK}
{$DEFINE TMSTOOLBAR}


{$IFDEF LINUX}
{$DEFINE TMSCLX}
{$ENDIF}

{$IFDEF VER90}
{$DEFINE DELPHI2_LVL}
{$DEFINE ISDELPHI}
{$ENDIF}

{$IFDEF VER93}
{$DEFINE DELPHI2_LVL}
{$ENDIF}

{$IFDEF VER100}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$DEFINE ISDELPHI}
{$ENDIF}

{$IFDEF VER110}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$ENDIF}

{$IFDEF VER120}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$DEFINE DELPHI4_LVL}
{$DEFINE ISDELPHI}
{$ENDIF}

{$IFDEF VER125}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$DEFINE DELPHI4_LVL}
{$ENDIF}

{$IFDEF VER130}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$DEFINE DELPHI4_LVL}
{$DEFINE DELPHI5_LVL}
{$ENDIF}

{$IFDEF VER140}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$DEFINE DELPHI4_LVL}
{$DEFINE DELPHI5_LVL}
{$DEFINE DELPHI6_LVL}
 {$IFNDEF BCB}
  {$DEFINE ISDELPHI}
 {$ENDIF}
{$ENDIF}

{$IFDEF VER150}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$DEFINE DELPHI4_LVL}
{$DEFINE DELPHI5_LVL}
{$DEFINE DELPHI6_LVL}
{$DEFINE DELPHI7_LVL}
 {$IFNDEF BCB}
  {$DEFINE ISDELPHI}
 {$ENDIF}
{$ENDIF}

{$IFDEF VER160}
  {$DEFINE DELPHI2_LVL}
  {$DEFINE DELPHI3_LVL}
  {$DEFINE DELPHI4_LVL}
  {$DEFINE DELPHI5_LVL}
  {$DEFINE DELPHI6_LVL}
  {$DEFINE DELPHI7_LVL}
  {$DEFINE TMSDOTNET}
  {$IFNDEF BCB}
    {$DEFINE ISDELPHI}
  {$ENDIF}
{$ENDIF}

{$IFDEF VER170}
  {$DEFINE DELPHI2_LVL}
  {$DEFINE DELPHI3_LVL}
  {$DEFINE DELPHI4_LVL}
  {$DEFINE DELPHI5_LVL}
  {$DEFINE DELPHI6_LVL}
  {$DEFINE DELPHI7_LVL}
  {$DEFINE DELPHI9_LVL}
  {$IFDEF CLR}
    {$DEFINE TMSDOTNET}
  {$ENDIF}
  {$IFNDEF BCB}
    {$DEFINE ISDELPHI}
  {$ENDIF}
{$ENDIF}

{$IFDEF VER180}
  {$DEFINE DELPHI2_LVL}
  {$DEFINE DELPHI3_LVL}
  {$DEFINE DELPHI4_LVL}
  {$DEFINE DELPHI5_LVL}
  {$DEFINE DELPHI6_LVL}
  {$DEFINE DELPHI7_LVL}
  {$DEFINE DELPHI9_LVL}
  {$DEFINE DELPHI2006_LVL}
  {$IFDEF CLR}
    {$DEFINE TMSDOTNET}
  {$ENDIF}
  {$IFNDEF BCB}
    {$DEFINE ISDELPHI}
  {$ENDIF}
{$ENDIF}

{$IFDEF VER185}
  {$DEFINE DELPHI2_LVL}
  {$DEFINE DELPHI3_LVL}
  {$DEFINE DELPHI4_LVL}
  {$DEFINE DELPHI5_LVL}
  {$DEFINE DELPHI6_LVL}
  {$DEFINE DELPHI7_LVL}
  {$DEFINE DELPHI9_LVL}
  {$DEFINE DELPHI2006_LVL}
  {$DEFINE DELPHI2007_LVL}
  {$IFDEF CLR}
    {$DEFINE TMSDOTNET}
  {$ENDIF}
  {$IFNDEF BCB}
    {$DEFINE ISDELPHI}
  {$ENDIF}
{$ENDIF}

{$IFDEF VER190}
  {$DEFINE DELPHI2_LVL}
  {$DEFINE DELPHI3_LVL}
  {$DEFINE DELPHI4_LVL}
  {$DEFINE DELPHI5_LVL}
  {$DEFINE DELPHI6_LVL}
  {$DEFINE DELPHI7_LVL}
  {$DEFINE DELPHI9_LVL}
  {$DEFINE DELPHI2006_LVL}
  {$DEFINE DELPHI2007_LVL}
  {$IFDEF CLR}
    {$DEFINE TMSDOTNET}
  {$ENDIF}
  {$IFNDEF BCB}
    {$DEFINE ISDELPHI}
  {$ENDIF}
{$ENDIF}

{$IFDEF VER200}
  {$DEFINE DELPHI2_LVL}
  {$DEFINE DELPHI3_LVL}
  {$DEFINE DELPHI4_LVL}
  {$DEFINE DELPHI5_LVL}
  {$DEFINE DELPHI6_LVL}
  {$DEFINE DELPHI7_LVL}
  {$DEFINE DELPHI9_LVL}
  {$DEFINE DELPHI2006_LVL}
  {$DEFINE DELPHI2007_LVL}
  {$DEFINE DELPHI_UNICODE}
  {$IFDEF CLR}
    {$DEFINE TMSDOTNET}
  {$ENDIF}
  {$IFNDEF BCB}
    {$DEFINE ISDELPHI}
  {$ENDIF}
{$ENDIF}


{$IFDEF VER110}
 {$ObjExportAll On}
{$ENDIF}

{$IFDEF VER125}
 {$ObjExportAll On}
{$ENDIF}

{$IFDEF VER130}
 {$IFDEF BCB}
  {$ObjExportAll On}
 {$ELSE}
  {$DEFINE ISDELPHI}
 {$ENDIF}
{$ENDIF}

{$IFDEF ISDELPHI}
 {$IFDEF DELPHI3_LVL}
  {$DEFINE DELPHI_ONLY_LVL3}
 {$ENDIF}
{$ENDIF}

{$IFDEF DELPHI7_LVL}
{$WARN UNIT_PLATFORM OFF}
{$WARN SYMBOL_PLATFORM OFF}
{$ENDIF}


{$IFNDEF TMSDOTNET}

{$DEFINE TMSGDIPLUS}      // comment this line to disable GDI+ use in TAdvStringGrid

{$ENDIF}

//{$DEFINE TMSDISABLEOLE}   // uncomment this line to disable OLE initialization by TAdvStringGrid