converting ansi characters to unicode

Oct 2 2008 7:29 AM

hi

I am building a windows application in .net 2.0 framework.

The main characterstic of the application will be that it will installes and run in the background of any client machine and get all keystrokes and mouse clicks by the user.

Then these keystrokes are converted from Ansi characters to devnagari script unicode characters. While the application is running in the background if user open a text editor as notepad, MS Word, WordPad etc. and types "k" then it should be "ka" of devnagari script.

I have done all the initial stuff to get the keystroke and run the application in the background.

Now my main problem is that how to convert that ascii letter 'k' to unicode "ka" and get it printed in the foreground applications.

In additon I am getting the virtual key code of the key but not able to convert it accordingly..

 

Please help me there is being a month or more while I am searching the answer of the problem.

 

I realy be highly thankful...


Answers (2)