Converting virtual key to UNICODE character codes

  • Thread starter Thread starter kurotsuke
  • Start date Start date
K

kurotsuke

I need to convert a sequence of keys presses on the keyboard into the
corresponding character code (UNICODE).
I'm intercepting the KeyUp event (using an external hooking library)
and need to get the corrisponding code, according to the user
keyboard. For example, if the user pressed SHIFT+a I need to get the
65 code

I'd also need to the the opposite thing, that is converting the
character UNICODE code to a sequence of key presses.

Thanks.
 
Back
Top