Dzirt 0 Posted February 28, 2019 Hello, please, can you point me to the inter-process communication example. I need to send data between processes: simple data, if it is possible, streams, custom objects. I am using OmniThreadLibrary to do all this to communicate between threads, if it is possible to do with processes? Thanx in advance! Share this post Link to post
RonaldK 18 Posted February 28, 2019 Shared Memory: https://stackoverflow.com/questions/5646202/sharing-data-array-between-two-applications-in-delphi 1 Share this post Link to post
Primož Gabrijelčič 223 Posted February 28, 2019 Alternatives: Named pipes, https://docs.microsoft.com/en-us/windows/desktop/ipc/named-pipes TCP/IP Network DDE, https://docs.microsoft.com/en-us/windows/desktop/ipc/network-dynamic-data-exchange Mailslots, https://docs.microsoft.com/en-us/windows/desktop/ipc/mailslots 1 Share this post Link to post
limelect 48 Posted February 28, 2019 Many years ago with D6 i used TmdMailSlot very successful . Here you can download it https://torry.net/authorsmore.php?id=152 Share this post Link to post
astral2k5 2 Posted February 28, 2019 I'm using this component, works really well and has some demos too: http://francois-piette.blogspot.com/2013/04/inter-process-communication-using-pipes.html Share this post Link to post
Dzirt 0 Posted March 1, 2019 Thank you all for the clarification! Have a nide day! Share this post Link to post
Edwin Yip 154 Posted March 1, 2019 Also check: Cromis.IPC, excellent, but the author's website's no longer available. https://torry.net/authorsmore.php?id=7711 https://github.com/kami-soft/NamedPipeExchange Share this post Link to post
toms 29 Posted March 1, 2019 14 minutes ago, edwinyzh said: Also check: Cromis.IPC, excellent, but the author's website's no longer available. https://torry.net/authorsmore.php?id=7711 https://web.archive.org/web/20170503103849/http://www.cromis.net/blog/downloads/cromis-ipc/ Share this post Link to post
Jacek Laskowski 57 Posted March 1, 2019 23 hours ago, Primož Gabrijelčič said: Alternatives: Named pipes, https://docs.microsoft.com/en-us/windows/desktop/ipc/named-pipes TCP/IP Network DDE, https://docs.microsoft.com/en-us/windows/desktop/ipc/network-dynamic-data-exchange Mailslots, https://docs.microsoft.com/en-us/windows/desktop/ipc/mailslots from Microsft site: " [Network DDE is no longer supported. Nddeapi.dll is present on Windows Vista, but all function calls return NDDE_NOT_IMPLEMENTED.] " 1 Share this post Link to post
Primož Gabrijelčič 223 Posted March 1, 2019 @Jacek Laskowski, thank you for the correction. I will try to remember that in the future 🙂 Share this post Link to post
Remy Lebeau 1436 Posted March 1, 2019 (edited) Another alternative for IPC on a single computer is the WM_COPYDATA message, see Using Data Copy. 3 hours ago, Jacek Laskowski said: from Microsft site: " [Network DDE is no longer supported. Nddeapi.dll is present on Windows Vista, but all function calls return NDDE_NOT_IMPLEMENTED.] " Network DDE across multiple computers is no longer supported, but Local DDE on a single computer is still supported. Edited March 1, 2019 by Remy Lebeau Share this post Link to post