Please help me to resolve this issue

Dave Mandelin mandelin at
Mon Mar 27 21:47:25 CEST 2006

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? in DynWin generates C callback
functions from Python functions.

Want to play tabletop RPGs over the internet?
    Check out Koboldsoft RPZen:

More information about the Python-list mailing list