Converting virtual key to UNICODE character codes

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top