Sign in Join
FPDoc Onlineexperiment

TSimpleIPCServer.ReadMessage function

Member of TSimpleIPCServerpublicIn unit SimpleIPC

Read message from the queue.

Declaration

pascal
function ReadMessage: Boolean

Function result

True if a message was read by the server and pushed to the queue.

Description

ReadMessage will read the oldest message from the queue, and make it available in MsgType and MsgData

It is safe to call this even if a watch thread is started.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.