Hello,
I created a service with a simple function like this with 10 parameters consisting of a string and an integer.
code server
function TMyTrxService.EchoString(Value1,
Value2,
Value3,
Value4,
Value5,
Value6: string;
Value7,
Value8,
Value9: Integer;
Value10: Integer): string;
begin
Result := Value1+'-'+
Value2+'-'+
Value3+'-'+
Value4+'-'+
Value5+'-'+
Value6+'-'+
IntToStr(Value7)+'-'+
IntToStr(Value8)+'-'+
IntToStr(Value9)+'-'+
IntToStr(Value10);
end;
code client
procedure TForm1.Button1Click(Sender: TObject);
begin
Memo1.Text := xClient.Service<IMyTrxService>.
EchoString('1','2','3','4','5','6',119,119,119,119);
end;
There is a problem if my client from mobile fmx accesses it, then the number value in parameter Value9 will change to 127. On target windows this does not happen.
What do I not know about the data reception error?