[PythonCE] Porting to VC8/CE6

Ulrich Eckhardt eckhardt at satorlaser.com
Tue Sep 23 10:29:48 CEST 2008


Greetings!

I'm currently trying to compile under VC8/VS2005 for a CE6-based device and 
I'm hitting a few roadblocks I'd like to have your opinion on.

1. It says PythonCE 2.5, does that mean it is based on Python 2.5? I didn't 
see this clearly stated anywhere, just asking for confirmation.

2. In pythonce.c, python25.dll is loaded explicitly (using LoadLibrary), why? 
Not only does this hardcode the path to the DLL (I would have used the path 
to the executable as a base instead) but I don't even understand why that is 
done instead of linking the DLL directly.

3. Again, in pythonce.c, it uses <aygshell.h>, which is not available on the 
target platform. I first tried to deactivate the few calls, but then ended up 
with further errors from SIP, and all that isn't helped by me not 
understanding thoroughly what the code does.

If anyone wants to give it a try, too, I can send the SCons file to setup the 
environment for compilation. At least compiling python25.dll already works 
with it (though it requires some modifications to the sources, about which 
I'm not 100% sure yet).

Otherwise, where are the sources? I assume that you have some kind of version 
control system, but Sourceforge's SVN repository is blank and the code I 
found in the CVS repository is not what is otherwise distributed. I'm a bit 
confused...

cheers

Uli

-- 
Sator Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932

**************************************************************************************
           Visit our website at <http://www.satorlaser.de/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.

**************************************************************************************



More information about the PythonCE mailing list