Converting scancode to ascii

Miscellaneous Forums/Win32 Discussion/Converting scancode to ascii

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I've got this problem with trapping keys. The biggest problem is handling keyboard of various languages. AZERTY, QWERTY and other various ones around the world. I need the ascii character typed, basically. A flawless method that converts scancodes to ascii codes.

So in essence:
- One function that tells me which keyboard layout it is
- One function that converts a scancode into an ascii code by supplying keyboard layout

I suppose I can find that in a windows API, but where to start?

Thanks for any help.

I'm sorry I can't help but I want to add my name to list of people that require this.

Please help!