   How to get the name of chinese input method on Vista/Win7?
  The codes are no problem on XP, but there is something wrong on Vista/Win7. I can't get the name of chinese input method. Help me pls.My codes are as follow:HKL hKL = ::GetKeyboardLayout(0);int nSize = ::ImmGetDescription(hKL, NULL, 0);if(nSize>0){  ImmGetDescription(hKL, m_szImeName, 200); //Get the input method name}   
  In Windows Vista, Microsoft re-wrote all of the IMEs to use the TSF (Text Services Framework), rather than IMM. Most of the time, you shouldn't notice, but use of ImmGetDescription is one case where you will notice.Here is some more information.If this is for a new application, I would suggest you switch to TSF, since that's the "way of the future" anyway (of course, you might not have a choice...)   ;Quote:Original post by CodekaIn Windows Vista, Microsoft re-wrote all of the IMEs to use the TSF (Text Services Framework), rather than IMM. Most of the time, you shouldn't notice, but use of ImmGetDescription is one case where you will notice.Here is some more information.If this is for a new application, I would suggest you switch to TSF, since that's the "way of the future" anyway (of course, you might not have a choice...)Thank you for your answer.Yes I know my old method IME can't go far away. How can I just get the name of input method and the candidatelist using the TSF with windows API? Is there any sample codes I can look up?;  Unfortunately, I don't know the answer to that one :-) I've not had much to do with IMEs for a while, and I always found the TSF documentation to be a little sparse...   