RPC HELP TRPCBroker strCall Method Example

From VistApedia
Revision as of 14:12, 5 July 2015 by Kdtop (talk | contribs) (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 ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.