[C++-sig] Fwd: [Swig-user] How to wrap a existing DLL to a python module?
Bruce Who
bruce.who.hk at gmail.com
Sat Apr 28 02:46:56 CEST 2007
---------- Forwarded message ----------
From: Bruce Who <bruce.who.hk at gmail.com>
Date: Apr 28, 2007 8:46 AM
Subject: Re: [Swig-user] How to wrap a existing DLL to a python module?
To: Rob Stewart <robert.stewart at sig.com>
OMG, just call me dumb, I put the DLL to the same directory and it
works fine! Thanks!
On 4/27/07, Rob Stewart <robert.stewart at sig.com> wrote:
> 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.
> [snip]
> > 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;
>
Bruce
More information about the Cplusplus-sig
mailing list