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

2007-05-08 Thread Ross Levis
: RE: [DUG] Sending data between process on same computer on windows In my case it's in a normal gui application at one end and a service type application in the other which uses a timer to check for incoming commands. I normally do something like this. ShareRec.Filena

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

2007-05-08 Thread Ross Levis
2007 14:51 To: NZ Borland Developers Group - Delphi List Subject: RE: [DUG] Sending data between process on same computer on windows Hi Ross, Is the code sample inside a dos command line application or you start a thread to do that communication? TIA Regards Leigh www.smootharm.

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

2007-05-08 Thread Leigh Wanstead
To: 'NZ Borland Developers Group - Delphi List' Subject: RE: [DUG] Sending data between process on same computer on windows I guess you've read the readme.txt which explains all the properties and methods. Install it as a component. Drop the component on a form in 2 program

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

2007-05-08 Thread Myles Penlington
y 2007 02:24 To: 'NZ Borland Developers Group - Delphi List' Subject: RE: [DUG] Sending data between process on same computer on windows I guess you've read the readme.txt which explains all the properties and methods. Install it as a component. Drop the component on a form in 2 prog

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

2007-05-08 Thread Ross Levis
s they will not work. Cheers, Ross. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Coley Sent: Wednesday, 9 May 2007 13:51 To: NZ Borland Developers Group - Delphi List Subject: RE: [DUG] Sending data between process on same computer on windows Do you have any sa

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

2007-05-08 Thread Jason Coley
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 memo

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

2007-05-08 Thread Leigh Wanstead
ubject: 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] [mai

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

2007-05-07 Thread Ross Levis
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

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

2007-05-07 Thread Alan Rose
] [mailto:[EMAIL PROTECTED] On Behalf Of Myles Penlington Sent: Tuesday, 8 May 2007 11:30 a.m. To: NZ Borland Developers Group - Delphi List Subject: RE: [DUG] Sending data between process on same computer on windows The reason behind the second one is

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

2007-05-07 Thread Myles Penlington
), then you will have security issues. Myles. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Leigh Wanstead Sent: Tuesday, 8 May 2007 11:18 To: NZ Borland Developers Group - Delphi List Subject: RE: [DUG] Sending data between process on same computer on windows Hi Conor

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

2007-05-07 Thread Leigh Wanstead
Hi Conor, Thanks Regards Leigh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Conor Boyd Sent: Tuesday, 8 May 2007 11:04 a.m. To: NZ Borland Developers Group - Delphi List Subject: RE: [DUG] Sending data between process on same computer on

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

2007-05-07 Thread Myles Penlington
PROTECTED] On Behalf Of Leigh Wanstead Sent: Tuesday, 8 May 2007 10:46 To: NZ Borland Developers Group - Delphi List Subject: RE: [DUG] Sending data between process on same computer on windows May I ask why sendmessage is not reliable? In what situation will cause sendmessage fail to break the

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

2007-05-07 Thread Conor Boyd
I've already given you one scenario (although I admit it's not one that's going to bother most people), and couldn't find any doco anywhere to describe why Send/PostMessage failed in that instance. Another scenario was described on the page I linked to: "The easiest way to do such IPC (inter proc

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

2007-05-07 Thread Leigh Wanstead
Developers Group - Delphi List Subject: RE: [DUG] Sending data between process on same computer on windows The devil is in the detail in this kind of stuff, and your actual implementation can have a great effect. As implied, the best method will be to develop 2 or 3 different methods, test and

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

2007-05-07 Thread Myles Penlington
Boyd Sent: Tuesday, 8 May 2007 10:19 To: NZ Borland Developers Group - Delphi List Subject: RE: [DUG] Sending data between process on same computer on windows Sorry Leigh, I haven't done enough testing with big volume messages to be able to answer that for you. I was more interest

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

2007-05-07 Thread Conor Boyd
Sorry Leigh, I haven't done enough testing with big volume messages to be able to answer that for you. I was more interested in something that worked and was reliable. Cheers, Conor From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Leigh Wanstea

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

2007-05-07 Thread Tim Jarvis
stead 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 Me

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

2007-05-07 Thread Leigh Wanstead
: [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

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

2007-05-07 Thread Leigh Wanstead
Hi Conor, Thanks for the url. 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

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

2007-05-07 Thread Leigh Wanstead
PROTECTED] 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

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

2007-05-07 Thread Conor Boyd
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 an

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

2007-05-07 Thread Myles Penlington
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