Thanks for the link. Actually I`ve already have the keyboard layout
dll's. What I was trying to do, is to change the layout for other programs. For example on a hotkey press, my program changes the active input fields's layout to russian (what is already installed on the windows system)... The only one way to do that, I thought is to change the corresponfing ket to another...Actually a dirty way...
Any ideas how to do that in another way?