I'm from China, and I have Chinese ime. Usually I forget to turn off the ime, then I pressed a key in game, the game will crash!!Now I found a function to disable ime, it's name is "ImmAssociateContext",see it on msdn
http://msdn.microsoft.com/en-us/library/windows/desktop/dd318171.
Code:
ImmAssociateContext(hWnd, NULL);