Thanks,
Petetr
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Sam HobbsRank #107 · 20.5K reputationPosted Feb 25, 2010, 5:25 PM EST
Why do you say "redefine all of the keys"? I don't understand that. You can't modify the scan codes that the keyboard sends to the system. Windows never modifies the scan codes sent by the keyboard; it cannot and would not.
Peter4 reputationPosted Feb 27, 2010, 1:10 PM EST
Unfortunately, the ascii values for some of these function keys conflicts with often used PC keys such as a numeric zero. Therefore, to prevent that from happening, I must assign a different value for that function key. I decided to assign values that a user will most likely never use.
For the task, I created a Windows Service application to capture the keystrokes. If the keystroke is any of those functional keys, I give it a different value, other that that, I leave it alone.
Since I started this thread, I noticed that the windows service application does not have to crash to cause the Windows keyboard to go wacky!!! It just did few minutes ago. In fact I could'nt enter anything. But my mouse still works, so I stopped the windows service app and I'm able to type again.
Anyways,
Thanks for answering and I hope you can offer some suggestion for me.
Regards,
Peter