{$B-}
       { Determine Delphi/C++Builder version }

{$IFNDEF VER80}                    {       not Delphi 1.0           }
  {$IFNDEF VER90}                  {       not Delphi 2.0           }
    {$IFNDEF VER93}                {       not C++Builder 1.0       }
      {$IFNDEF VER110}             {       not C++Builder 3.0       }
        {$DEFINE RICHVIEWDEF3}     (* Delphi 3.0+, C++Builder 4.0+ *)
        {$IFNDEF VER100}           {       not Delphi 3.0           }
          {$DEFINE RICHVIEWDEF4}   (* Delphi 4.0+                  *)
        {$ENDIF}
      {$ENDIF}
    {$ENDIF}
  {$ENDIF}
{$ENDIF}

{$DEFINE RVALLOWCPBYCP}
{NOT$DEFINE RVDONOTUSEJPEGIMAGE}
{NOT$DEFINE RVDONOTUSERVF}
{NOT$DEFINE RVDONOTUSEHTML}

{$DEFINE RVDEBUG}
