[PythonCE] Build environment for PythonCE

alexandre.delattre at enst-bretagne.fr alexandre.delattre at enst-bretagne.fr
Sat Jun 16 09:56:52 CEST 2007


Hi Stewart,

Maybe you should include python headers before the regular ones.
To do so with evc4 : go to the menu Tools->Options, go to the tab  
Directories and choose include, then add an entry to the directory  
that contain python.h just before the regular includes.

i've been able to compile a few extensions with a such config, for  
instance numarray, so I'm pretty sure this config is correct.

Furthermore if you want to interface the SH* functions, you can also  
do so directly in python with ctypes, for instance  : from ctypes  
import cdll; cdll.aygshell.SHFullScreen(...).

For other example of such intefacing you can get a look at vensterce  
that uses the most common windows procedures.

Alex.



More information about the PythonCE mailing list