RPCBPropSet Function

Examples

Sets a TRPCBroker property to some value.

Declarations

  Delphi
      
procedure RpcbPropSet(const RPCBroker: TRPCBroker; Prop,Value: PChar);
  C
void (__stdcall *RPCBPropSet) (void *, char *, char *);
  C++
void RPCBPropSet ( char * s, char * t);
  VB
Sub RpcbPropSet (ByVal intRpcbHandle As Long, ByVal strProp As String, ByVal strValue As String)
  Parameter Description
  RPCBroker Handle of the TRPCBroker component.

  Prop Null-terminated string of the property to set. Not case-sensitive. Valid properties to set are: ClearParameters, ClearResults, Connected, DebugMode, ListenerPort, RemoteProcedure, RPCTimeLimit, RPCVersion, and Server.

  Value Null-terminated string of the value that the Prop property should be set to. This procedure takes care of converting the passed in value to whatever type the property expects. For boolean properties, pass in 1 (True) or 0 (False).