Paul,

Did you get your questioned answered yet?

Just take the PyIDispatch object that you get from the other COM method and
pass it into
win32com.client.Dispatch as the only argument and it will convert it to a
CDispatch object
that you can use.

Kerry Oliphant
Project Engineer
Concepts NREC


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:activepython-admin@;listserv.ActiveState.com]On Behalf Of Paul
Casteels
Sent: Tuesday, November 05, 2002 12:52 AM
To: [EMAIL PROTECTED]
Subject: win32com Dispatch



 When I use win32com.client.Dispatch I get a CDispatch object with an
oleobj inside and I have direct access to all methods/attributes.
 How can I obtain the same result when I get the IDispatch pointer from
an external application (as an argument from another COM method).
 The type of this pointer is PyIDispatch but I am unable to invoke any
methods on it.

--
Paul Casteels           [EMAIL PROTECTED]  Tel: +32.3.8202455
                                                Fax: +32.3.8202470
University of Antwerp   Dpt.Physics
Universiteitsplein 1
B-2610 Wilrijk
Belgium


_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython

_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython

Reply via email to