List Info

Thread: How to wrap a existing DLL to a python module?




How to wrap a existing DLL to a python module?
user name
2007-04-27 19:46:56
---------- Forwarded message ----------
From: Bruce Who <bruce.who.hkgmail.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.stewartsig.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.stewartsig.com> wrote:
> From: "Bruce Who" <bruce.who.hkgmail.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.stewartsig.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-langbindinglists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/boost
-langbinding

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )