Re: dos wait loop
- Posted by Tone Škoda <tskoda at email.si> Apr 01, 2005
- 498 views
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. > > Anyhow, if you really must, I recommend trapping INT 1C, and when you > want to 'wait', just count the appropriate number of ticks (65535 per hour) > and when not waiting, just ignore the interrupts. sorry, dont understand this.