Creating Python wrapper for DLL

renwei renwei at koal.com
Tue Jun 28 21:13:33 EDT 2005


use ctype:
http://starship.python.net/crew/theller/ctypes/


"Tim" <tvansteenburgh at gmail.com> ????
news:1119990428.163115.152440 at g49g2000cwa.googlegroups.com...
> I have a DLL, and a C .h file that exports a bunch of functions from
> the DLL.  I would like to create a Python extension module for these
> functions.
>
> I have read the "Extending and Embedding" documentation in the Python
> 2.4 release.  I understand how to extend C code for use in Python if I
> have access to the C source code (I think).  But...
>
> Will I be able to create Python extensions for my DLL functions if I do
> not have access to the DLL source code?
>





More information about the Python-list mailing list