One thought on “Migration to XE4 and AnsiString / StrLen issues.

  1. Well, not long ago I also wrote similar wrapper, but for FormatSettings members, adapting code to compile on D2006 and XE2

    {$REGION ‘Utility functions to mask different Delphi versions’}

    function GetRtlListSeparator: Char; inline;


    {$IF RTLVersion >= 23}

      Result := FormatSettings.ListSeparator;


      Result := ListSeparator;




Leave a Reply