---------- Forwarded message ----------
From: Bruce Who <bruce.who.hk 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 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 sig.com> wrote:
> From: "Bruce Who" <bruce.who.hk 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 sig.com
> 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://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Boost-langbinding mailing list
Boost-langbinding lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/boost
-langbinding
|