Difference between revisions of "RPC HELP TRPCBroker strCall Method Example"

From VistApedia
Jump to: navigation, search
(Created page with "<h2>strCall Example</h2> The following program code demonstrates the use of the '''strCall''' method in a hypothetical example of bringing back the name of the user currently ...")
(No difference)

Revision as of 14:12, 5 July 2015

strCall Example

The following program code demonstrates the use of the strCall method in a hypothetical example of bringing back the name of the user currently logged on and automatically displaying it in a label:

   procedure TForm1.Button1Click(Sender: TObject);
   begin
     brkrRPCBroker1.RemoteProcedure := 'GET CURRENT USER NAME';
     Label1.Caption := brkrRPCBroker1.strCall;
   end;

NOTE: For a demonstration using the strCall method, please run the BrokerExample.EXE located in the ..\BDK32\Samples\BrokerEx directory.