On Nov 25, 4:34 pm, "Diez B. Roggisch" <de... at nospam.web.de> wrote: > > You can't use ctypes for C++, only for C-style APIs. > > Diez With some work, you can convert your C++ objects to PyObject* and then return the latter in a function with C bindings.