Author Topic: SimpleIPC example  (Read 11940 times)


  • Hero Member
  • *****
  • Posts: 8386
Re: SimpleIPC example
« Reply #15 on: March 07, 2018, 10:52:09 am »
You must set the server's "Global" to true. Regarding Global=false", the fcl help is a bit confusing here:
Global indicates whether the server is reachable to all users (True) or if it is private to the current process (False). In the latter case, the unique channel endpoint identification may change: a unique identification of the current process is appended to the ServerID name.
InstanceID is the unique identifier for this server communication channel endpoint, and will be appended to the ServerID property to form the unique server endpoint which a client should use.
And after sending a message, the server must call "PeekMessage" and "ReadMessage" (or have an OnReadmessage event handler) - this is what "Button4" does.
Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...


  • Newbie
  • Posts: 2
Re: SimpleIPC example
« Reply #16 on: March 03, 2021, 08:12:23 pm »
Its working correct, when global is set to true. Just needs to send and peek message.
I'm just posting here to assert that these components are working.


TinyPortal © 2005-2018