[Tutor] create an object from a class in dll with ctypes?

Mark Tolonen metolone+gmane at gmail.com
Wed Jan 20 08:49:14 CET 2010


"katrin schmid" <katisss at gmx.de> wrote in message 
news:0EDDA7DDDFF84D639352526B72DBF8C7 at katisssPC...
> hi,
> i am getting started with ctypes in python 2.5 and was wondering if
> i would be able to create an object from the class in my dll somehow.
> I only found examples that show how to access a function but the
> function i want to call is part of a cpp class in my dll...

ctypes is for C DLLs.  You might want to look at www.swig.org instead.

-Mark





More information about the Tutor mailing list