I have a third-party DLL and it's associated .h file. The DLL was written
in C. I have neither the associated .c files nor the .obj files for the
DLL. Can I use SWIG or SIP to build something that will allow me to use
the
DLL with Python? And what is that something, an .obj file, another
Look at this , this might be more simple to use
http://starship.python.net/crew/theller/ctypes/
Phil Thompson wrote:
I have a third-party DLL and it's associated .h file. The DLL was
written
in C. I have neither the associated .c files nor the .obj files
for the
DLL. Can I use SWIG or
On 2005-02-10, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Phil Thompson wrote:
I have a third-party DLL and it's associated .h file. The DLL
was written in C. I have neither the associated .c files nor
the .obj files for the DLL. Can I use SWIG or SIP to build
something that will allow me
I have a third-party DLL and it's associated .h file. The DLL was written
in C. I have neither the associated .c files nor the .obj files for the
DLL. Can I use SWIG or SIP to build something that will allow me to use the
DLL with Python? And what is that something, an .obj file, another
You can call the .DLL file by using a solution
I wrote (and donated) some time ago. It is located here:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/146847
You will need calldll.pyd available here:
http://www.nightmare.com/software.html
I've used this solution a LOT and it has worked
Brent
Google python ctypes. ctypes is cool :)
keep well
Caleb
On Wed, 9 Feb 2005 13:44:44 -0700, Brent W. Hughes
[EMAIL PROTECTED] wrote:
I have a third-party DLL and it's associated .h file. The DLL was
written
in C. I have neither the associated .c files nor the .obj files for the
DLL.
Larry Bates wrote:
You can call the .DLL file by using a solution
I wrote (and donated) some time ago. It is located here:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/146847
You will need calldll.pyd available here:
http://www.nightmare.com/software.html
While calldll works for this