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

Thomas Heller theller at python.net
Fri Oct 29 21:18:56 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.

Why not try ctypes.com?

Thomas



More information about the Python-win32 mailing list