Hi,
I've updated a program to last official version of Lazarus.
I must change this code
var
i:integer;
a:String;
begin
....
qry.ParamByName('VAL').AsBlob:=a;
....
end;
to this one
var
i:integer;
a:TBytes;
begin
....
qry.ParamByName('VAL').AsBlob:=a;
....
end;
I know probably last version is better than the previous one, BUT I cannot compile the old code because I receive this error:
unit1.pas(470,43) Error: Incompatible type for arg no. 1: Got "AnsiString", expected "TBytes"
So my question is: what has changed from Lazarus 2.0.12 to Lazarus 2.2.0?
Regards
Luca