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 SIP to build something that will allow me
to use
> > the
> > DLL with Python?  And what is that something, an .obj file, another
DLL or
> > what?
>
> Yes, you can use either SWIG or SIP. C (as opposed to C++) support
was
> added with SIP v4. The something is another DLL, conventionally given
a
> .pyd extenstion.
> 
> Phil

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to