Re: [PythonCE] packaging app into cab's

2009-06-11 Thread David Goncalves
Hi, I've been playing around with pythonce on my windows mobile phone and am very impressed by it. I was wondering if anyone can point me to some good resources for packaging pythonce and my application into one installable cab. If you are using Linux you can use the 'pocketpc-cab' package th

Re: [PythonCE] The State of Affairs

2008-07-31 Thread David Goncalves
(different from Windows cab files) suitable for PocketPC by using various tools. You can use free linux tools like : pocketpc-cab or you can use a shareware running on Win32 like : WinCE Cab Manager. Regards. -- David Goncalves - http://www.lestat.st

Re: [PythonCE] ~Name not defined" error

2008-07-11 Thread David Goncalves
Hi, aKey = OpenKey(HKEY_LOCAL_MACHINE, r"SOFTWARE\Microsoft\Windows\CurrentVersion\Run") I have replaced the lines as suggested and now get the error: :[Error 2] The system cannot find the file specified Any ideas? You have to double the backslash because it is interpreted as an esc code :

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-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 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

[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

Re: [PythonCE] File with linux terminator char editor

2008-04-15 Thread David Goncalves
hi, > As I develop under linux, my files are not well displayed on the PPC > because of the different terminator type used. > > Do you know a nice editor on PPC able to deal with both terminators types? You can try UKEditor (the website is in japanese). It handles the different encodings. By t

Re: [PythonCE] PythonCE 2.5 on a NEC MobilePro 900c?

2007-10-08 Thread David Goncalves
Hi, > Are there any major hurdles in building a version of PythonCE 2.5 (and > associated tools) that will run on my MobilePro (Windows CE 4.2)? By > major, I mean more involved than tweaking the build. > > If so, would anyone have any advice/recommendations on which tools and > libraries to u

[PythonCE] wxWidgets for PythonCE 2.5

2007-02-07 Thread David Goncalves
Hi, Has someone compiled wxWidgets for the current 1.5 release of PythonCE ? I would like to try it on my pocket to compare it to Tkinter. Thanks. ___ PythonCE mailing list PythonCE@python.org http://mail.python.org/mailman/listinfo/pythonce

[PythonCE] PythonCE with Tix

2007-01-15 Thread David Goncalves
Hi, Has somebody experienced using Tix for Tk on PythonCE ? Tix is an extension to Tk that introduces new widgets. http://tix.sourceforge.net ___ PythonCE mailing list PythonCE@python.org http://mail.python.org/mailman/listinfo/pythonce

Re: [PythonCE] Accessing serial port with PythonCE 2.5

2007-01-11 Thread David Goncalves
Hi, Stefan Johansson wrote: > You can find a link to ceserial in the archives: > http://mail.python.org/pipermail/pythonce/2006-September/001589.html > I have used it successfully on my Dell Axim. Thanks a lot for that link. I downloaded CeSerial and started to listen to my serial port only with

Re: [PythonCE] Accessing serial port with PythonCE 2.5

2007-01-08 Thread David Goncalves
Hi, > Well there is no "serial" module included with PythonCE, but Python on > my PC doesn't have such a module either. I haven't done it myself on > PythonCE but I think the best way would be to use ctypes to access the > Win32 serial communications APIs. I have written some code to do this on

[PythonCE] Accessing serial port with PythonCE 2.5

2007-01-02 Thread David Goncalves
Hi, Everything is in the subject ;) Is there any way to access the serial port with that build of PythonCE ? I've not found any 'serial' module to import. Regards. ___ PythonCE mailing list PythonCE@python.org http://mail.python.org/mailman/listinfo/p

Re: [PythonCE] How tobuild PythonCE 2.5

2006-12-29 Thread David Goncalves
Hi, > I have download pythonce source, and try to build it > to generate CAB file, just for familiar with python code. > > What I found out is that Scons will not build. It > shows: > > > C:\Source\python-wince\PCbuild\WinCE>scons > scons: Reading SConscript files ... > : global name 'defpaths' >

Re: [PythonCE] Python 2.5 for Windows CE / ARM

2006-12-16 Thread David Goncalves
Hi, I wasn't present this days to anwser you ;) Bandung wrote: > My guess is that you have a Sigmarion handheld. (You could have made our > task so much easier by telling us what device you had in your first post). > The reason why you are using the dummy Aygshell is so you can make software >

Re: [PythonCE] Python 2.5 for Windows CE / ARM

2006-12-13 Thread David Goncalves
Bandung wrote: > David, Could you download this version of python in a cab format and try to > install it and tell us what happens? > > http://downloads.sourceforge.net/pythonce/PythonCE-243-20060430.PPC2003_ARM.CAB?modtime=1146511186&big_mirror=0 > python 2.4.3 I've tried this version and the

Re: [PythonCE] Python 2.5 for Windows CE / ARM

2006-12-13 Thread David Goncalves
Hi, Thanks for your tips ;) But unfortunetly there is no chance for me to get PythonCE working on my device (with or without the additionnal files). I'm using a WindowsCE 4.2 Core version. The Python.exe is not recognized as a "Valid CE application". The only distribution that works is the HPC2

[PythonCE] Python 2.5 for Windows CE / ARM

2006-11-27 Thread David Goncalves
Hello, I'm trying to install Python on my CE device since many time ;) I've just found that release of PythonCE (2.5) but unfortunetly this version is not working on my device. I've the following message : "Python.exe is not a valid CE application". My device is running WindowsCE 4.2 on an ARM p