Newbie: SWIG or SIP?
suryaprakashg at gmail.com
suryaprakashg at gmail.com
Thu Feb 10 12:33:43 EST 2005
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
More information about the Python-list
mailing list