line 259
Code: Select all
Error := String(StrPas(PlainDriver.ErrorString(ErrorCode)));
System.SysUtils.pas(11512): Related method: function StrPas(const PAnsiChar): AnsiString;
Fix :
Code: Select all
{$IFDEF DELPHI12_UP}
Error := String(System.AnsiStrings.StrPas(PlainDriver.ErrorString(ErrorCode)));
{$ELSE}
Error := String(StrPas(PlainDriver.ErrorString(ErrorCode)));
{$ENDIF}