[DUG] Sending data between process on same computer on windows
Jason Coley
Jason at software-solutions.co.nz
Wed May 9 13:50:48 NZST 2007
Do you have any samples on how to work this component, I can't find much
on the net about it either, apart from download links.
Jason
I would use shared memory. I use this free component.
http://www.torry.net/vcl/system/appscommunications/sharedmemory.zip
It uses a memory mapped file system but without a physical file.
It can use messages for triggering events at each end, but I actually
use a variable in a record which I check in a 10ms loop to know when to
do something. It works very well.
Ross.
From: delphi-bounces at delphi.org.nz
[mailto:delphi-bounces at delphi.org.nz] On Behalf Of Myles Penlington
Sent: Tuesday, 8 May 2007 9:40
To: NZ Borland Developers Group - Delphi List
Subject: RE: [DUG] Sending data between process on same computer
on windows
Shared memory of course!
How much data are you talking about, how often?
For IPC, IMO, I would never use Sendmessage for something that
needed to be 100% reliable.
Myles.
From: delphi-bounces at delphi.org.nz
[mailto:delphi-bounces at delphi.org.nz] On Behalf Of Leigh Wanstead
Sent: Tuesday, 8 May 2007 09:35
To: delphi at delphi.org.nz
Subject: [DUG] Sending data between process on same computer on
windows
Hello everyone,
May I ask what is the fastest way to send data between process
on same computer on windows? I assume sendmessage api faster than
semaphore waiting, of course faster than TCP/IP which will go through
huge amounts of tcp/ip stack. I just want lowest overhead on per call.
Anyone have any experiences on that?
TIA
Regards
Leigh
www.smootharm.com
Attention:
This communication is confidential and may be legally
privileged. If you are not the intended recipient, please do not use,
disclose, copy or distribute it, other than to return it to us with your
confirmation that it has been deleted from your system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.adventureeducation.co.nz/pipermail/delphi/attachments/20070509/d068f022/attachment.html
More information about the Delphi
mailing list