[Python.NET] Use of c++ dll in python

Roman Yakovenko roman.yakovenko at gmail.com
Mon Apr 3 19:17:30 CEST 2006


On 4/3/06, Lalit DIGARI <lalit.digari at st.com> wrote:
> Hello All ,
> I have devloped a c++ dll named mydll in c++ how can I access it with in python script using ctype...

Hi. I think this is the wrong mailing list to ask. Any way, you can not do it.
There are 2 reasons:
1. functions name mangling
2. resource management

You have few choices:
1. To create thin wrapper to dll that will expose ".NET" interface
2. To use boost.python library ( or if you resist SWIG )

> Regard's
> Lalit

--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/


More information about the PythonDotNet mailing list