I am currently developing a WPF application for an AMD Geode single-board computer (touch screen).
Windows Embedded Standard installs a thin device on the device and downloads .Net 3.5. The application works fine for the most part, but I get some abnormal behavior and I suspect that it comes from the framework, as the problems cannot be reproduced on my development machine.
Short description of the problem:
I have this on an onscreen keyboard. When you touch the buttons, what you type inside this text box at the top of the on-screen keyboard is displayed. Clicking a user’s button is handled by the mouse event handler on the buttons. Pretty simple. Inside this handler I:
- Play sound for key press.
- Follow some switching logic and caps
- Determine which key was pressed (via sender)
- Refresh keyboard text
Now it works pretty obvious on my development machine. No problems. In the Windows Embedded standard, I get this strange delay on my keyboard. Basically, I press a key, the sound plays, but the key you pressed is not updated in the text box at the top of the keyboard. It is updated much later, at random. (After a few seconds or after 30 seconds, its quite random and keeps track of all the keys pressed)
" " , . . , , , , .
- . , , , . . 5-20 . CPU, . . , .
, , , - .
, .
,