Getting IID's from PythonCOM

Alex Martelli alex at magenta.com
Wed Aug 9 05:18:53 EDT 2000


"Mark N. Jeunnette" <mnjeunn at sandia.gov> wrote in message
news:399098DC.E3AF441D at sandia.gov...
> Hi,
>
> I'm trying to set up a Visual C++ - to - Python COM connection (Python
> on the server side).  Where do I need to look to find the interface ID
> (IID) to give to my QueryInterface call on the C++ side?  Is there a
> specific variable that I need to set in the Python code?  Any help would
> be appreciated.

Python-implemented COM objects, unless they're implementing
well-known standard interfaces, only implement IDispatch, AFAIK.
So, IID_IDispatch should do.


Alex






More information about the Python-list mailing list