tags:

views:

197

answers:

1

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
Sorry, I should specify that this is for a console application.
krupan
How would a user know what happens to his key input when there is nothing visible on screen?
tomlog
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