Hi. I am using comtypes to interact with DirectShow an have one question about:
What I´m doing wrong to get this error message? Fragment of code: (...) if_baseFilter = filtro_fs.QueryInterface(comtypes.gen.DirectShowLib.IBaseFilter) enum = if_baseFilter.EnumPins() print enum pin, npi = enum.Next(1) print pin pin.QueryId() (...) Output: <POINTER(IEnumPins) object 146b800> <POINTER(IPin) object 146b6c0> Traceback (most recent call last): File "prueba.py", line 64, in ? pin.QueryId() ValueError: NULL COM pointer access Thanks in advance ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ comtypes-users mailing list comtypes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/comtypes-users