[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

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. Just to catch a

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]; pythonce@python.org Sent: Monday, June 26, 2006 3:40 PM Subject: