Click to See Complete Forum and Search --> : Detect Current Runtime language and map keys


Wolvorine
March 8th, 2008, 06:33 PM
Hi,

I am trying to catch every single key hits which user will do on his computer (Like a keylogger). But i am trying to MAP his current selected language with that particular Key.
Suppose if my current selected language on notepad is Chineese while on Window's OS i am using english overall. So i can detect any ASCI key character of my keyboard but when it comes up on Notepad then i start writing chineese on the notepad. But instead of Chineese character i am still getting english ASCI characters. Now my job is to first detect Chineese or any language then map those asci character in chineese or other language.

By that i can get any text on windows which user will write either in polish,japaneese or chineese etc ...if anyone got any tip then please let me know.

Thanks in advance

golanshahar
March 9th, 2008, 06:00 PM
Look at ::MapVirtualKeyEx() (http://msdn2.microsoft.com/en-us/library/ms646307(VS.85).aspx).

Cheers

Wolvorine
March 14th, 2008, 03:54 PM
thanks alot...ill check it.

golanshahar
March 14th, 2008, 05:33 PM
thanks alot...ill check it.

You are welcome :wave:

Cheers