RPC HELP DLL ExportFN RPCBCall

From VistApedia
Revision as of 14:00, 7 July 2015 by Kdtop (talk | contribs)
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.