[PythonCE] Non-Python threads crash on errno access

2006-06-27 Thread Kevin Goodsell
We have a scenario where a Python program uses a C++ module. The C++ module creates its own threads, and these threads sometimes call back into Python (after first acquiring the GIL, of course). This works quite nicely on Linux and desktop Windows, but crashes on CE. After some debugging I discover

Re: [PythonCE] building a 'simple' example

2006-06-27 Thread Smit, M.C.
Giovanni Petrucciani wrote: >Smit, M.C. wrote: >> Hi >> >> The path is in sys.path. The DLL is next to the test programme that tries to >> >import it, it name is simple.dll, andthe error is raised on: import simple >> >> ImportError: DLL load failed:The specified module could not be found. >> >

Re: [PythonCE] building a 'simple' example

2006-06-27 Thread Luke Dunstan
Hi, I think the only way I could help further is if you posted a small but complete example that demonstrates the problem. Luke - Original Message - From: "Smit, M.C." <[EMAIL PROTECTED]> To: "Luke Dunstan" <[EMAIL PROTECTED]>; Sent: Monday, June 26, 2006 3:40 PM Subject: RE: [Python

Re: [PythonCE] Problem with ctypes

2006-06-27 Thread Craig Thomasson
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 pr