ASCII to Virtual-Key Codes

How would one go about converting an ASCII character to the corresponding local virtual-key code in non-MFC C++ or C? And would this be functional with both QWERTY and DVORAK keyboard configurations?
Who is Participating?
StateAuthor Commented:
I never would've found that on the MSDN site. Thanks!
I find it hard finding stuff on the MSDN site myself.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.