[Tutor] Registering callbacks and .DLL

Wilson, Pete Pete.Wilson at atmel.com
Fri Oct 17 01:35:02 CEST 2014


I'm having problems registering a call-back with a .DLL. Maybe someone has some advice on registering call-backs from .dlls.
I'm using Windows 7 and Python 2.6 (32-bits). The .DLL was written in C++ is working with C++ apps calling it.
I tried the methods in section 15.17.1.17 with the qsort() and CFUNCTYPE, but it is not working.  My code and the .dll are attached.

Pete

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20141016/182c333a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: py_cb.7z
Type: application/octet-stream
Size: 955723 bytes
Desc: py_cb.7z
URL: <http://mail.python.org/pipermail/tutor/attachments/20141016/182c333a/attachment-0001.obj>


More information about the Tutor mailing list