[PythonCE] Problem with ctypes
bnml2 at yahoo.com
Tue Jun 27 18:24:09 CEST 2006
I also had the same problem with the ctypes 0.9.9.6
module from the ctypes project. I couldn't load the
.pyd file directly either regardless of the location
of the file.
Changing to the ctypes module from the pythonce
project made the problem go away for me as well.
I did notice in the ctypes project that there are
explicit releases for 2.3 and 2.4 for win32, but there
is only one release for wince-arm, and no idication if
it's for 2.3 or 2.4. Is there any way to tell what
version of Python a particular .pyd file is built for
without installing different python versions?
--- Luke Dunstan <coder_infidel at hotmail.com> wrote:
> ----- Original Message -----
> From: "Tod Haren" <ke7fxl at gmail.com>
> To: <pythonce at python.org>
> Sent: Saturday, June 24, 2006 11:07 AM
> Subject: [PythonCE] Problem with ctypes
> > The wince files on the ctypes sourceforge project
> site don't work for
> > me. import ctypes was resulting in "import error:
> dll load failed".
> > I claimed to be unable to locate _ctypes.pyd even
> though it was
> > present and in sys.path. I tried both 0.9.9.6 and
> 0.9.9.3 with no
> > luck, I tried different paths and configurations
> What was the name of the file you downloaded from
> the ctypes project? Are
> you sure it wasn't for Python 2.3?
> > I finally checked the the pythonce project and
> downloaded the 0.9.9.6
> > files from there. They worked like a charm and
> now I'm up and running
> > ctypes again.
> > I have Python 2.4.3 running on a Dell Axim X5 with
> PPC 2003, installed
> > to the SD Card.
> > Has anyone else had similar problems?
> > Tod
> PythonCE mailing list
> PythonCE at python.org
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the PythonCE