On 17/10/14 00:35, Wilson, Pete wrote:
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.

OK As I understand it, You are trying to register a Python function
as a call back on a C++ function in a DLL is that correct?

Do you have any code? I don't see any attachment. Many lists/servers
strip out binary attachments as potential viruses so it may not have
made it through. Code is best included inline as text provided its not too long, or alternatively, in a pastebin.

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.

Section 15.17.1.17 of what? Not the tutorial, not the library
reference and not the language reference. So what?

This question may be a tad too complex for the tutor list which
is targeted to those learning Python, you probably want the main
list for this. But you are going to have to provide some code
and a more detailed description of what you are trying to do.

--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.flickr.com/photos/alangauldphotos

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to