hi, it worked great, i am just wondering if the resulting .pyd is plattform dependent? If i create one on windows would linux user need another one? Thank you, katrin
-------- Original-Nachricht -------- > Datum: Tue, 19 Jan 2010 23:49:14 -0800 > Von: "Mark Tolonen" <[email protected]> > An: [email protected] > Betreff: Re: [Tutor] create an object from a class in dll with ctypes? > > "katrin schmid" <[email protected]> wrote in message > news:0edda7dddff84d639352526b72dbf...@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 - [email protected] > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/tutor -- Haiti-Nothilfe! Helfen Sie per SMS: Sende UIHAITI an die Nummer 81190. Von 5 Euro je SMS (zzgl. SMS-Gebühr) gehen 4,83 Euro an UNICEF. _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
