RPC HELP DLL ExportFN RPCBCall

From VistApedia
Revision as of 13:42, 7 July 2015 by Kdtop (talk | contribs) (Created page with " RPC Broker Help Home DLL Interface Home <h2>RPCBCall Function</h2> [[RPC_HELP_DLL_ExportFN_RPCBCall_Example|Example...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

RPC Broker Help Home

DLL Interface Home

RPCBCall Function

Example

Executes a remote procedure call, and fills the passed buffer with the data resulting from the call. This is equivalent to the TRPCBroker component's Call method.

Declarations

   Delphi -- procedure RPCBCall(const RPCBroker: TRPCBroker; CallResult: PChar);
   C -- char *(__stdcall *RPCBCall) (void *, char *);
   C++ -- char * RPCBCall( char * s);
   VB -- Sub RPCBCall (ByVal intRPCBHandle As Long, ByVal strCallResult As String)

Parameter Description

RPCBroker Handle of the Broker component that contains the name of the remote procedure and all of the required parameters. CallResult An empty character buffer that the calling application must create (allocate memory for) before making this call. This buffer is filled with the result of the call.

NOTE: See RPC Limits for information about the size of parameters and results that can be passed to and returned from the TRPCBroker component.