Error in 7.0.4

The stable tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 27.07.2013, 18:48
Location: Egypt

Error in 7.0.4

Postby Coldzer0 » 27.07.2013, 18:54

in ZDbcSqLiteUtils.pas

line 259

Code: Select all

 Error := String(StrPas(PlainDriver.ErrorString(ErrorCode)));

in XE4 make some Error

System.SysUtils.pas(11512): Related method: function StrPas(const PAnsiChar): AnsiString;

Fix :

Code: Select all

      Error := String(System.AnsiStrings.StrPas(PlainDriver.ErrorString(ErrorCode)));
      Error := String(StrPas(PlainDriver.ErrorString(ErrorCode)));

User avatar
Zeos Dev Team
Zeos Dev Team
Posts: 1739
Joined: 31.03.2011, 22:38

Postby EgonHugeist » 27.07.2013, 19:19


thanks for the hint. Well 7.0.4 isn't 100% ready for XE4. Propose you download 7.1-Beta from SVN.

The best fix is simply to omit StrPas functions.. They are deprecated since D6. ):
King regards, Michael

You want to help? viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude!


Return to “ZeosLib 7.0 Stable Forum”

Who is online

Users browsing this forum: No registered users and 1 guest