[DUG] Sending data between process on same computer on windows
Tim Jarvis
Tim.Jarvis at codegear.com
Tue May 8 10:11:41 NZST 2007
If it's a large amount of data, a combination of SendMessage and Memory
mapped files is very fast and efficient. ( SendMessage to notify and MMF
to store the data )
Cheers Tim.
________________________________
From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz]
On Behalf Of Leigh Wanstead
Sent: Tuesday, 8 May 2007 8:05 AM
To: NZ Borland Developers Group - Delphi List
Subject: RE: [DUG] Sending data between process on same computer on
windows
Hi Conor,
May I ask which is faster, ipc or sendmessage?
TIA
Regards
Leigh
www.smootharm.com
-----Original Message-----
From: delphi-bounces at delphi.org.nz
[mailto:delphi-bounces at delphi.org.nz]On Behalf Of Conor Boyd
Sent: Tuesday, 8 May 2007 9:47 a.m.
To: NZ Borland Developers Group - Delphi List
Subject: RE: [DUG] Sending data between process on same computer
on windows
I found the IPC functionality from madshi.net
(http://help.madshi.net/IPC.htm) to work very nicely.
I needed a way to send messages from a screensaver I was writing
to another process on the same box, and SendMessage didn't seem to work
when a screensaver was active (which I found strange, but anyway...),
and the IPC stuff from madshi works flawlessly.
HTH,
C.
________________________________
From: delphi-bounces at delphi.org.nz
[mailto:delphi-bounces at delphi.org.nz] On Behalf Of Leigh Wanstead
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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.adventureeducation.co.nz/pipermail/delphi/attachments/20070508/1e4453d9/attachment.html
More information about the Delphi
mailing list