[Tutor] how can I use the functions inside ITfInputProcessorProfiles

Dror Cohen drorco at gmail.com
Fri Jul 11 10:11:45 CEST 2008

Hi everybody,

I'm trying to use the these functions which are in isnide of

I think that its registry key is {892F230F-FE00-4A41-A98E-FCD6DE0D35EF}
(though I don't know if I even need this)

How can I use its function inside of python.
I tried using this by thinking it will get me somewhere (Got no idea if I
was even close)

point = None
Inputpp = pythoncom.MakeIID('{892F230F-FE00-4A41-A98E-FCD6DE0D35EF}')
pythoncom.CoCreateInstance(Inputpp, None, pythoncom.CLSCTX_INPROC_SERVER,

but then I got this error message

 Traceback (most recent call last):
   File "<interactive input>", line 1, in <module>
    TypeError: Only strings and iids can be converted to a CLSID.

I don't mind if you'll show me other ways to use thins function.
All I want to get is the current active language in Windows.

Thanks! :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20080711/d462b499/attachment.htm>

More information about the Tutor mailing list