Re: [python-win32] hoto cast pyobject to ccompnt

2015-11-28 Thread Matteo Boscolo
Il 28/11/2015 09:08, Matteo Boscolo ha scritto: pUnk = (IUnknown*)pyApplication; — Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] hoto cast pyobject to ccompnt

2015-11-28 Thread Matteo Boscolo
pUnk = (IUnknown*)pyApplication; — Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32 sorry i did a mistake your cast seems to b

Re: [python-win32] hoto cast pyobject to ccompnt

2015-11-28 Thread Matteo Boscolo
Il 28/11/2015 08:30, Tim Roberts ha scritto: On Nov 26, 2015, at 11:34 PM, Matteo Boscolo wrote: in my cpp code I have my function that recive a com objetc from python into args from here I'm not able to cast such an object into a ccompnt static PyObject * connect(PyObject * self, PyObject *

Re: [python-win32] hoto cast pyobject to ccompnt

2015-11-28 Thread Matteo Boscolo
Il 28/11/2015 08:30, Tim Roberts ha scritto: On Nov 26, 2015, at 11:34 PM, Matteo Boscolo wrote: in my cpp code I have my function that recive a com objetc from python into args from here I'm not able to cast such an object into a ccompnt static PyObject * connect(PyObject * self, PyObject *

Re: [python-win32] hoto cast pyobject to ccompnt

2015-11-27 Thread Tim Roberts
On Nov 26, 2015, at 11:34 PM, Matteo Boscolo wrote: > > in my cpp code I have my function that recive a com objetc from python > into args > from here I'm not able to cast such an object into a ccompnt > > static PyObject * > connect(PyObject * self, PyObject * args) > { > PyObject * p