Difference between revisions of "SimpleIPC"

From Free Pascal wiki
Jump to navigationJump to search
Line 8: Line 8:
 
SimpleIPC can be used to communicate between programs to make simple communication systems, plugin systems and much more,
 
SimpleIPC can be used to communicate between programs to make simple communication systems, plugin systems and much more,
  
 +
==Use Cases==
 
The lazarus help system itself, uses SimpleIPC.
 
The lazarus help system itself, uses SimpleIPC.
 +
 +
Some [[fpGUI]] tools and demos use IPC, for example, to detect if the program is already running (single instance)
  
 
==Send Messages to Other Programming Languages==
 
==Send Messages to Other Programming Languages==
 
For IPC between freepascal programs and other programs written in any language (C++, Delphi, GoLang, etc.) see [[SimpleIPC Library]] which allows you to use SimpleIPC not just in FPC and Lazarus, but multiple programming languages.
 
For IPC between freepascal programs and other programs written in any language (C++, Delphi, GoLang, etc.) see [[SimpleIPC Library]] which allows you to use SimpleIPC not just in FPC and Lazarus, but multiple programming languages.

Revision as of 09:44, 1 July 2017

Simple IPC is a Freepascal unit (and Lazarus components) that allows interprocess communication (IPC) between freepascal programs.

It allows two executables to communicate.

Advantages of SimpleIPC

Create communication systems without requiring low level sockets programming of your own. SimpleIPC does the grunt work of IPC for you and makes a nice high level wrapper around lower level IPC mechanisms, so you don't have to program them yourself.

SimpleIPC can be used to communicate between programs to make simple communication systems, plugin systems and much more,

Use Cases

The lazarus help system itself, uses SimpleIPC.

Some fpGUI tools and demos use IPC, for example, to detect if the program is already running (single instance)

Send Messages to Other Programming Languages

For IPC between freepascal programs and other programs written in any language (C++, Delphi, GoLang, etc.) see SimpleIPC Library which allows you to use SimpleIPC not just in FPC and Lazarus, but multiple programming languages.