Keep it simple .....

 ..... will pass data from A to B - I will probably use a file to put the data 
in because its quite structured.
B will sleep on a timer loop until this something is triggered.

Why not use the exis the very existance of the data transfer file as the 
trigger.

Program A creates the file(s) with the data and then goes on with whatever else 
it needs to do. Perhaps even 
creating another data file or appending to an existing one.

Program B sleeps on a timer, wakes up, checks for the existance of a/the data 
file(s). If one/some exist then 
process, if not then sleep another cycle.

I have use this method to pass both fax and email files and other messages to a 
"server". Naming conventions, 
folder locations etc can all be used to do any segregation of users/purposes as 
required.

Using this method A and B don't even have to be on the same machine.

Hope this helps.

Graham Marsden


_______________________________________________
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 delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

Reply via email to