[PythonCE] Comtypes installation problem...

Thomas Heller theller at ctypes.org
Fri Jul 18 15:57:55 CEST 2008


David Goncalves schrieb:
> Hi,
> 
>> By the time I wrote pypoom, comtypes (version 0.3 if I remember well) 
>> worked out of the box on WinCe.
>> 
>> Sergei, if you send me your tweaked version of comtypes, I think I'll be 
>> able to replace your "comments" with more portable statements like :
>> If os.name == 'ce': ...
>> , or so.
>> And then submit a preliminary patch to Thomas
> 
> I've done the same on the only needed file '_safearray.py'.
> All the parts not working on WinCE are skipped with a
> 
> if os.name != "ce" :
>      xxxxx
>      xxxxx
> 
> 
> The file is from the 0.4.2 version of comtypes.

Before I apply this patch to comtypes:  This patch allows to *import* the comtypes.safearray
module, but it also probably makes it non-functional.

So, the question is:  Which COM objects are people using on Windows CE?  Do these objects
use the SAFEARRAY data type?

Thanks,
Thomas



More information about the PythonCE mailing list