Fwd: [Swig-user] How to wrap a existing DLL to a python module?

"Bruce Who" <[email protected]>
Newsgroups gmane.comp.lib.boost.langbinding,gmane.comp.programming.swig,gmane.comp.python.c++
Message-ID <[email protected]>
---------- Forwarded message ----------
From: Bruce Who <[email protected]>
Date: Apr 28, 2007 8:46 AM
Subject: Re: [Swig-user] How to wrap a existing DLL to a python module?
To: Rob Stewart <[email protected]>


OMG, just call me dumb, I put the DLL to the same directory and it
works fine! Thanks!

On 4/27/07, Rob Stewart <[email protected]> wrote:
> From: "Bruce Who" <[email protected]>
> >
> > 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                           [email protected]
> Software Engineer                     http://www.sig.com
> Susquehanna International Group, LLP  using std::disclaimer;
>

Bruce

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.