How can I call the functions in a DLL

Jimmy Retzlaff jimmy at retzlaff.com
Wed Jan 15 21:08:25 EST 2003


hanzac [mailto:hanzac at cmmail.com] wrote:
>HI,
>I once used win32api.LoadLibrary("xxx.dll") and stored the HANDLE in d
>and used win32api.GetProcAddress(a, "xxx")
>and it returned a int value of the function address.
>
>But how can I call the function?
>Can someone guide me? Thanks first.:-)

Take a look at:

http://starship.python.net/crew/theller/ctypes.html

It's a fantastic piece of work. There a link to download it at the
bottom of that page.

Jimmy





More information about the Python-list mailing list