NativeXml.pas Delphi XE compile problem
Brought to you by:
mellobot
Originally created by: grigh...@gmail.com
function TsdXmlParser.ReadStringUntilChar(AChar: AnsiChar): Utf8String;
var
Count: integer;
StartIdx: integer;
CurrentChar: Char;//<<<<--This is problem. I am change to AnsiChar
begin
Count := MakeDataAvailable;
StartIdx := FUtf8CurrentIdx;
while not FEndOfStream do
begin
CurrentChar := FUtf8Buffer[FUtf8CurrentIdx];//<<<<-- no [DCC Error] NativeXml.pas(6998): E2010 Incompatible types: 'Char' and 'AnsiChar'