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

katrin schmid Katisss at gmx.de
Wed Jan 20 10:16:48 CET 2010


hi,
perfectly looks like what i want,
thanks a lot.
katrin


-------- Original-Nachricht --------
> Datum: Tue, 19 Jan 2010 23:49:14 -0800
> Von: "Mark Tolonen" <metolone+gmane at gmail.com>
> An: tutor at python.org
> Betreff: Re: [Tutor] create an object from a class in dll with ctypes?

> 
> "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
> 
> 
> 
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor

-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser


More information about the Tutor mailing list