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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Leigh Wanstead Sent: Tuesday, 8 May 2007 09:35 To: delphi@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.
_______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe