Please help me to resolve this issue

Dave Mandelin mandelin at cs.berkeley.edu
Mon Mar 27 14:47:25 EST 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? 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




More information about the Python-list mailing list