I could add WM_PING for you, if you think you need it ;p Sending window message using SendMessage() should accurate and easy way of testing wheter program is responding or not. Another solution is that, you could make your program a debugger for io. => wait until io throws exception/quits.
|