Re: dos wait loop
- Posted by Alexander Toresson <alexander.toresson at gmail.com> Apr 01, 2005
- 483 views
Tone *koda wrote: > > Derek Parnell wrote: > > > MS-DOS is not designed to know that other programs may also be running at > > the > > same time. What are you trying to achieve by 'waiting'? > > i want to SendMessage() a message from euphoria program run in exw.exe to > euphoria > program run in ex.exe. ex.exe program has to be notified that message has > arrived, > and then it sends a message back to exw.exe program. i communicate via files. > > > just like i can communicate between two Windows programs with SendMessage(). > > basically i want an OS-independant communication-between-two-programs system. Why do you put so much effort into this, and why not just write both programs for windows? I mean, those two programs will depend on windows nevertheless! If you really wish to do this anyway, I recommend looking at the source of DS4QB, or DirectSound for QuickBasic, in which they do exactly what you want. Or maybe you could try communicating through tcp between the programs. Regards, Alexander Toresson