> I'm trying to get back the result of ie.Navigate().
> According to the MSDN
> documentation it should return a HRESULT.  It appears to
> return None.  Is
> there a way to get the return code from the com interaction?

All error HRESULTs are returned via exceptions.  Unfortunately, there isn't
a reliable way to get a success HRESULT - when it is known to be
significant, functions often return them, and it sounds like we could also
do that in your case (assuming it *always* returns None now).  It should
also be possible to stick all HRESULTs in some thread-local-storage and
fetchable via "GetLastHRESULT()" or similar.  What codes are you expecting
to see?

Mark

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to