Skip to content

TDebugMessage

Structure describing a message.

Declaration

Source position: dbugmsg.pp line 40

type
  TDebugMessage = record
    MsgType: Integer;
    MsgTimeStamp: TDateTime;
    Msg: string;
  end;

Description

TDebugMessage is a record that describes the message passed from the client to the server. It should not be passed directly in shared memory, as the string containing the message is allocated on the heap. Instead, the WriteDebugMessageToStream and ReadDebugMessageFromStream can be used to read or write the message from/to a stream.

See also

Name Description
ReadDebugMessageFromStream Read a message from stream.
WriteDebugMessageToStream Write a message to stream.