Re: [PythonCE] Comtypes installation problem...

2008-07-19 Thread Alexandre Delattre
Thomas, In pypoom and when embedding activex controls in venster/ppygui I hadn't met the need to use the SAFEARRAY type. Regards, Alexandre___ PythonCE mailing list PythonCE@python.org http://mail.python.org/mailman/listinfo/pythonce

Re: [PythonCE] Comtypes installation problem...

2008-07-18 Thread Thomas Heller
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 : >>

Re: [PythonCE] Comtypes installation problem...

2008-06-27 Thread Alexandre Delattre
Nice, Maybe there some other part of comtypes that would require the missing SafeArrayGetIID function and would fail at runtime (I mean some functions or classes that use this internally). I'll have a little search through the code and use a os.name switch if necessary. Best regards, Alexandre

Re: [PythonCE] Comtypes installation problem...

2008-06-27 Thread Sergei Golubchik
Hi! On Jun 27, Alexandre Delattre wrote: > 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

Re: [PythonCE] Comtypes installation problem...

2008-06-27 Thread David Goncalves
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 su

Re: [PythonCE] Comtypes installation problem...

2008-06-27 Thread Alexandre Delattre
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 subm

Re: [PythonCE] Comtypes installation problem...

2008-06-26 Thread Michael Foord
Thomas Heller wrote: Michael Foord schrieb: David Goncalves wrote: Hi, I'm trying to install comtypes on Python 2.5 (2007-10 release). I've copied the "comtypes" folder to "Program files\Python25\Lib". That is part of the Win32 extensions for Python which run on the desktop (wi

Re: [PythonCE] Comtypes installation problem...

2008-06-26 Thread Michael Foord
Thomas Heller wrote: Michael Foord schrieb: David Goncalves wrote: Hi, I'm trying to install comtypes on Python 2.5 (2007-10 release). I've copied the "comtypes" folder to "Program files\Python25\Lib". That is part of the Win32 extensions for Python which run on the desktop (wi

Re: [PythonCE] Comtypes installation problem...

2008-06-26 Thread Thomas Heller
David Goncalves schrieb: > Hi, > > I'm trying to install comtypes on Python 2.5 (2007-10 release). > I've copied the "comtypes" folder to "Program files\Python25\Lib". > > When i do a "import comtypes" to check if everything is ok, i > get the following message : > > function "SafeArrayCreateVec

Re: [PythonCE] Comtypes installation problem...

2008-06-26 Thread Thomas Heller
Michael Foord schrieb: > David Goncalves wrote: >> Hi, >> >> I'm trying to install comtypes on Python 2.5 (2007-10 release). >> I've copied the "comtypes" folder to "Program files\Python25\Lib". > > That is part of the Win32 extensions for Python which run on the desktop > (with a different CPU a

Re: [PythonCE] Comtypes installation problem...

2008-06-26 Thread David Goncalves
Hi, I've commented out all unknown API functions and could make pypoom working and happily accessing the addressbook. Nice tip ! I'll try it. Thanks. ___ PythonCE mailing list PythonCE@python.org http://mail.python.org/mailman/listinfo/pythonce

Re: [PythonCE] Comtypes installation problem...

2008-06-26 Thread Sergei Golubchik
Hi! On Jun 26, David Goncalves wrote: > Hi, > >> That is part of the Win32 extensions for Python which run on the >> desktop (with a different CPU and different APIs to your WinCE >> device). You would have to recompile especially for WinCE, which >> would be 'difficult'. You are much better off

Re: [PythonCE] Comtypes installation problem...

2008-06-26 Thread David Goncalves
Hi, That is part of the Win32 extensions for Python which run on the desktop (with a different CPU and different APIs to your WinCE device). You would have to recompile especially for WinCE, which would be 'difficult'. You are much better off using ctypes for PythonCE, which comes with the

Re: [PythonCE] Comtypes installation problem...

2008-06-26 Thread Michael Foord
David Goncalves wrote: Hi, I'm trying to install comtypes on Python 2.5 (2007-10 release). I've copied the "comtypes" folder to "Program files\Python25\Lib". That is part of the Win32 extensions for Python which run on the desktop (with a different CPU and different APIs to your WinCE device)

[PythonCE] Comtypes installation problem...

2008-06-26 Thread David Goncalves
Hi, I'm trying to install comtypes on Python 2.5 (2007-10 release). I've copied the "comtypes" folder to "Program files\Python25\Lib". When i do a "import comtypes" to check if everything is ok, i get the following message : function "SafeArrayCreateVectorEx" not found with a lot of debug infor