RPC HELP BrokerExampleEXE

From VistApedia
Jump to: navigation, search

RPC Broker Help Home

RPC Broker Example (32-Bit)

The RPC Broker Example sample application provided with the BDK (i.e., BrokerExample.EXE, located in the ..\BDK32\Samples\BrokerEx directory) demonstrates the basic features of developing RPCBroker applications, including:

  • Connecting to an M server
  • Creating an application Context
  • Using the GetServerInfo function
  • Displaying the VistA splash screen
  • Setting the TRPCBroker.Param property for each Param PType (literal, reference, list)
  • Calling RPCs with the Call method
  • Calling RPCs with the lstCall and strCall methods

The client source code files for the BrokerExample application are located in the ..\BDK32\Samples\BrokerEx directory.

Initially, use Delphi to compile the BrokerExample.DPR into an executable.