COM error/exception in Python, but not in VB (no dispatch interface available)

Jason R. Coombs jaraconospam at jaraco.com
Tue Jan 29 18:45:52 EST 2002


Thanks much for your suggestion.  That gives me direction to focus.  I'll
see what information I might be able to extract from the developers of the
library regarding the return value.  The documentation doesn't explicitly
mention what's returned (and it's not open source).  I am not intimately
familiar with COM, and so wouldn't even know how to approach programatically
inspecting the return value.

Thanks very much for the suggestion.

Jason

"Mark Hammond" <mhammond at skippinet.com.au> wrote in message
news:3C5608A6.6070004 at skippinet.com.au...
> Jason R. Coombs wrote:
> > Hi all.  I hope there's someone out there that might know the
intricacies of
> > Python and COM enough to help narrow this problem down.
>
> It appears to me that the returned object from this function does not
> support IDispatch - ie, it is not an automation object.
>
> Can you look at the type library and confirm if this is the case - ie,
> find the GetHTMLTag() function, and see what interface it returns.  Then
> look at this interface definition to see if it either derives from
> IDispatch, or is marked as automation.
>
> Mark.
>





More information about the Python-list mailing list