TAdvancedSingleInstance.ClientPostCustomRequest function
Send a custom message to the server.
Declaration
function ClientPostCustomRequest(const aMsgType: Integer;
const aStream: TStream): IntegerArguments
aMsgType | Message type to send. |
aStream | Message payload as a stream. |
Function result
Message ID of the posted message.
Description
ClientPostCustomRequest> sends the data in
aStream to the server instance using message type
aMsgType.
It returns the message id.Errors
If this application instance is not a client instance, then a
ESingleInstance exception is raised.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
