[python-win32] pythoncom.CoCreateInstance(...) problems

Mark Hammond mhammond at skippinet.com.au
Sun Oct 24 23:44:16 CEST 2004


> IFilterGraph = pythoncom.CoCreateInstance( CLSID_FilterGraph, None,
> pythoncom.CLSCTX_INPROC_SERVER, IID_IGraphBuilder )

Unfortunately, only IDispatch interfaces, or those with special C++ support
can be used from Python.  To use this interface you would probably need to
write an special win32com extension - just like the other win32com
extensions, such as MAPI, adsi, etc.

Mark



More information about the Python-win32 mailing list