Yanping Zhang wrote: > Hello everyone, > > I am pretty new in python. Please give me any idea about > this issue: > > There is a function like this in my c dll: > > typedef void (WINAPI *myCallBack) (unsigned int myarg1, unsigned int myarg2) > > bool myfunc(myCallBack mycall) > > > In my python code, I was able to access other functions in the dll, but I > have no idea how to call myfunc() because of WINAPI argument.
Are you using calldll/DynWin? gencb.py in DynWin generates C callback functions from Python functions. -- Want to play tabletop RPGs over the internet? Check out Koboldsoft RPZen: http://www.koboldsoft.com -- http://mail.python.org/mailman/listinfo/python-list