By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,036 Members | 1,963 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,036 IT Pros & Developers. It's quick & easy.

Creating Python wrapper for DLL

P: n/a
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?

Jul 19 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
use ctype:
http://starship.python.net/crew/theller/ctypes/
"Tim" <tv************@gmail.com> ????
news:11**********************@g49g2000cwa.googlegr oups.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?

Jul 19 '05 #3

P: n/a
Tim
Thanks guys, I'll take a look!

Jul 19 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.