What is the kbhit equivalent for Windows CE? In particular, I'm wondering about windows CE 6.0. I guess more generally, is there a way to do non-blocking reads from stdin?
A:
You would need to process the WM_KEYDOWN messages in Windows CE. Have a look here for some details on how to do this.
tomlog
2009-05-29 16:49:53
Sorry, I should specify that this is for a console application.
krupan
2009-05-29 17:12:52
How would a user know what happens to his key input when there is nothing visible on screen?
tomlog
2009-05-29 17:16:12
Think of an embedded system running CE, with no display. CE has a telnet server so that you can connect over the network and run console applications.
krupan
2009-05-29 18:09:03