Re: ctypes and how to copy data passed to callback

2008-07-29 Thread waldek
On Jul 28, 4:03 pm, Thomas Heller [EMAIL PROTECTED] wrote: waldek schrieb: Hi, I'm trying to handle data passed to Py Callback which is called from C dll. Callback passes data to another thread using Queue module and there the data are printed out. If data is printed out in a

Re: ctypes and how to copy data passed to callback

2008-07-28 Thread Diez B. Roggisch
waldek wrote: Hi, I'm trying to handle data passed to Py Callback which is called from C dll. Callback passes data to another thread using Queue module and there the data are printed out. If data is printed out in a callback itself it's ok. If I put on queue and next get from queue in

Re: ctypes and how to copy data passed to callback

2008-07-28 Thread Thomas Heller
waldek schrieb: Hi, I'm trying to handle data passed to Py Callback which is called from C dll. Callback passes data to another thread using Queue module and there the data are printed out. If data is printed out in a callback itself it's ok. If I put on queue and next get from queue