Creating Python wrapper for DLL

T

Tim

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?
 
Joined
Sep 27, 2006
Messages
3
Reaction score
0
dll

I am struggling to get the dll's up and running. How do I use ctypes to call dll's that have not been packaged for python?

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top