RPC HELP DLL GuideLines VB Create Broker Components

From VistApedia
Jump to: navigation, search

RPC Broker Help Home

DLL Interface Home

Visual Basic: Create Broker Components

To create TRPCBroker components in your Visual Basic program:

1. Create a variable to be a handle for the TRPCBroker component:

   Public intRPCBHandle As Long

2. Call the RPCBCreate method to create a TRPCBroker component and return its address into the variable you created:

   intRPCBHandle = RPCBCreate()

Now you can use the handle to the created Broker component to call its methods.