Difference between revisions of "RPC HELP DLL ExportFN RPCBCall"

From VistApedia
Jump to: navigation, search
Line 5: Line 5:
 
[[RPC_HELP_DLL_ExportFN_RPCBCall_Example|Example]]
 
[[RPC_HELP_DLL_ExportFN_RPCBCall_Example|Example]]
  
Executes a remote procedure call, and fills the passed buffer with the data resulting from the call. This is equivalent to the [[RPC_HELP_TRPCBroker|TRPCBroker]] component's Call method.
+
Executes a remote procedure call, and fills the passed buffer with the data resulting from the call. This is equivalent to the [[RPC_HELP_TRPCBroker|TRPCBroker]] component's [[RPC_HELP_TRPCBroker_Call_Method|Call]] method.
 
 
 
<h3>Declarations</h3>
 
<h3>Declarations</h3>

Revision as of 14:00, 7 July 2015

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.