[PythonCE] building a 'simple' example

2006-06-23 Thread Smit, M.C.
Dear all While there have been some posts on this topic I don't believe the answer is in there jet. Eventually I want to write (with help of a colliegue whom is experienced in c) a module that can use a device. Some c libraries are available, and all I realy need is a function that returns an

Re: [PythonCE] building a 'simple' example

2006-06-23 Thread Luke Dunstan
Hi, Where did you put the DLL? What is it called? What were the commands that failed? Luke - Original Message - From: "Smit, M.C." <[EMAIL PROTECTED]> To: Sent: Friday, June 23, 2006 11:21 PM Subject: [PythonCE] building a 'simple' example > Dear all > > While there have been some

Re: [PythonCE] serial port access

2006-06-23 Thread Benjamin McBride
Thanks all for your help! The final key was to use the wide-character variant of CreateFile. As soon as I have the code cleaned up I will post the code (should be in the next day or so). It will have a similar interface as pySerial. Thanks, Ben McBride On 6/21/06, Luke Dunstan <[EMAIL PROTECT

[PythonCE] Problem with ctypes

2006-06-23 Thread Tod Haren
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