[python-win32] Passing Nothing into ReferencesEvents - resolved, however can't bind events

2009-10-17 Thread shivisi
Thanks for taking the time to answer, and for pywin. I've been using pywin with COM for some time, and am only now (when something doesn't "just work") starting to appreciate its internal complexities. I get back the following error: >>> com_error: (-2147467262, 'No such interface supported', No

Re: [python-win32] Passing Nothing into ReferencesEvents - resolved, however can't bind events

2009-10-17 Thread Mark Hammond
On 18/10/2009 6:30 AM, shivisi wrote: Thanks for taking the time to answer, and for pywin. I've been using pywin with COM for some time, and am only now (when something doesn't "just work") starting to appreciate its internal complexities. I get back the following error: >>> com_error: (-214746

Re: [python-win32] Passing Nothing into ReferencesEvents - resolved, however can't bind events

2009-10-17 Thread shivisi
IDispatch is not supported. I have an issue using comtypes, which I have already resolved using pywin32. I need to pass Nothing (or the equivalent) into acc.VBE.Events.ReferencesEvents Under pywin32, I pass None, and that works. What is the equivalent of Nothing in comtypes? -Original Messag