Cutting the cord while someone else is shoring it up

by Michael S. Kaplan, published on 2007/05/30 02:42 -04:00, original URI: http://blogs.msdn.com/b/michkap/archive/2007/05/29/2982638.aspx


Vista ships with a bunch of IMEs, as previous versions of Windows did.

And even though they use the Text Services Framework (TSF) rather than the venerable Input Method Manager (IMM), there was no big set of "fake KLID" values added to the registry to make them easy to load via a call to LoadKeyboardLayout.

Which is technically a breaking change from Windows XP and Server 2003 (which had several IMEs using this "bootstrap" methods of loading via LoadKeyboardLayout).

(We can add this break to the one I talked about in What broke the input language messages?, I suppose....)

I was thinking about this change a while back when William Rollison asked me:

Do you, or do you know of someone who has some wrappers or examples of how to programmatically switch keyboard layouts and activate the Japanese IME in C#?

(The question itself is one I'll provide some answers for another time -- since it involves for the IME a TSF sample!)

An interesting factoid popped up when I installed Office 2007 on my Vista machine though -- it actually added three TSF IMEs and gave them those fake KLID values:

Interestingly enough, I have been told that all three of these IMEs were developed by the same folks who developed the Vista IMEs and that in all three cases they are minor upgrades. The KLID values are there because Office 2007 also installs on previous versions of Windows, and there was a consistency goal to try and meet.

So it does make one wonder why these pseudo-KLID values had to be removed if there was no actual architectural reason to do so. Seems like a bug to me, especially when the same team proved that they were able to make it work when they tried....

It is a little odd for one doctor to cut the cord if another one is going to strengthen the cord for another baby, in any case. Especially if it is doctors in the same hospital basing the decision on different insurance plans.

Or maybe I took the analogy too far. :-)

 

This post brought to you by (U+30dd, a.k.a. KATAKANA LETTER PO)


# M Henri Day on 12 Jun 2007 9:49 AM:

This is more a query than a comment. I have recently installed Vista Business to a special partition on my computer in order to familiarise myself with the OS, so as to be better able to help my fellow-pensioners when they run into difficulties, as they inevitably do. To my surprise, I find that the Windows IMEs that I've used when running XP (in Ubuntu, I use SCIM) to input CJK directly from my (Scandinavian) keyboard are no longer available to me - I am unable to add other languages - even Western European languages like French, Italian, and UK English - to the default settings of Swedish and US English. IMEs seem only to be available to users of Vista Enterprise and/or Ultimate.

This greatly reduces the usefullness of my Vista version , thus - finally - my question :

Is there any way I can install the IMEs you mentioned, i e,

   * Microsoft Pinyin IME 2007 for Simplified Chinese (KLID  

      E0200804)

   * Microsoft Office IME 2007 for Korean (KLID E0200412)

   * Microsoft Office IME 2007 for Japanese (KLID E0200411)

on my Vista system ? I have installed Office Pro 2007, but this doesn't seem to help....

Thanks.

Henri

# Michael S. Kaplan on 12 Jun 2007 10:42 AM:

The Office 2007 IMEs may not be in the default install, but they are there -- you have to install them, though....

# M Henri Day on 12 Jun 2007 7:11 PM:

«The Office 2007 IMEs may not be in the default install, but they are there -- you have to install them, though....» How ? Windows tells me that adding extra languages is only possible in the Enterprise or Ultimate versions of Vista, but I should be delighted to learn how to find and install IMEs in Office 2007. Any suggestions ?...

Henri

# Michael S. Kaplan on 12 Jun 2007 7:42 PM:

Um, huh?

I am talking about the OFFICE 2007 SETUP, and the Windows UI to add keyboard layouts, which is available in every SKU.

You are talking about the Vista UI to add user interface languages, an entirely different thing. I think it is ridiculous how this is limited myself, but this doeds not in any way affect the aility to add IMEs or keyboards.

# M Henri Day on 13 Jun 2007 6:14 AM:

Yes, Michael, you're right, when I performed a search for files and maps containing the string «IME», no less than 166 items (some of which I added myself when, in a vain attempt to gain access to more languages, I downloaded SCIM) turned up. And yes, indeed, I am talking about my difficulties with the Vista UI, but my ambition is in no way to extend the graphic interface, but rather to find a work around so that I can gain access to the languages I need. I had, rather naively, hoped that I could find a single .exe file upon which I could click to install and activate IMEs, but no such luck. Still, I am encouraged when you write that «... this doeds not in any way affect the aility to add IMEs or keyboards» ; can you suggest any ways for me to do just that ? The languages I should like to add are, in addition to CJK, Italian, French, German, Norwegian (both bokmål and nynorsk), Danish, and UK English. In the event you are willing to help here, please explain the procedure to be followed step-by-step, as I am a rank amateur lacking training in programming, save for a brief course in BASIC a quarter of a century ago....

Henri

# Michael S. Kaplan on 13 Jun 2007 8:18 AM:

Way to hijack a topic? :-(

  1. Regional and Language Options
  2. Keyboards and Languages tab
  3. Hit that keyboards button
  4. Add keyboard button
  5. Expand the item for the language
  6. Choose a keyboard
  7. Hit OK, you will be back in the dialog from step 4
  8. Repeat 4-7 again for each language you want.

# M Henri Day on 15 Jun 2007 4:25 AM:

Thanks, Michael, and please accept my apologies ; it was not my intention to hijack your topic. If you had tried the procedure you indicate, one which by the way is well-known to all who try to add languages to the default settings in Vista - or, for that matter, in XP - in different Vista versions, you would have realised that step 7 is not available in Vista versions other than Enterprise or Ultimate ; the «OK» button in other versions is grayed out. Thus my desperate search for an alternative method to activate the IMEs. I stumbled upon this thread via Google, and upon reading your posting, thought/hoped that you would have the knowledge and the inclination to help me out. Again, my apologies....

Henri  

# Michael S. Kaplan on 24 Oct 2007 10:29 PM:

FYi to those reading -- Henri's claim that this is "Enterprise only" is not true, I have been able to do it every SKU I have tried....


Please consider a donation to keep this archive running, maintained and free of advertising.
Donate €20 or more to receive an offline copy of the whole archive including all images.

referenced by

2008/03/06 Getting the IME name (for someone who speaks Chinese, based on code from an article written in Chinese, when you don't speak Chinese)

2008/02/03 When exactly will we take a hint about all of that keyboard cord cutting stuff?

2007/12/01 Cutting the cord, revisited -- and documenting how to get the job done!

2007/10/25 Ding dong, the hack is gone (aka Cutting the hacked cord, too)

go to newer or older post, or back to index or month or day