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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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?

_______________________________________________
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

Reply via email to