[C++-sig] [Swig-user] How to wrap a existing DLL to a python module?

Rob Stewart robert.stewart at sig.com
Fri Apr 27 15:55:57 CEST 2007

From: "Bruce Who" <bruce.who.hk at gmail.com>
> I have a DLL and related .lib and .h files provided by 3rd party, and
> I want to make a python extension module from this dll I tried swig
> but failed.
> Then I compiled all of these and got TEVLib.py and _TEVLib.pyd, but
> when I tried to import it, error occured, it's said something like
> that the DLL could not be imported.

Where is the DLL?  Is it on your path?

Rob Stewart                           robert.stewart at sig.com
Software Engineer                     http://www.sig.com
Susquehanna International Group, LLP  using std::disclaimer;

More information about the Cplusplus-sig mailing list