[DUG] Sending data between process on same computer on windows

Leigh Wanstead leighw at softtech.co.nz
Tue May 8 09:50:05 NZST 2007


Hi Myles,

Thanks for quick reply.

One mega bytes data max 60 transaction both way per second.

I am using memory mapped files for the moment.

What method should I use for IPC without using SendMessage?

TIA

Regards
Leigh
  -----Original Message-----
  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 a.m.
  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/20070508/fb13b789/attachment.html


More information about the Delphi mailing list