The following program code demonstrates using the Results property:
procedure TForm1.btnSendClick(Sender: TObject); begin RPCBroker1.ClearResults := True; {clears Results between calls} {the following code returns a single value} RPCBroker1.RemoteProcedure := 'SEND BACK SOME SINGLE VALUE'; RPCBroker1.Call; Label1.Caption := 'Value returned is: ' + RPCBroker1.Results[0]; {the following code returns several values} RPCBroker1.RemoteProcedure := 'SEND BACK LIST OF VALUES'; RPCBroker1.Call; ListBox1.Items := RPCBroker.Results; end;