[python-win32] Getting HRESULT back from a com automation
Richard Bell
rbell01824 at earthlink.net
Tue May 29 16:38:41 CEST 2007
My misunderstanding.
As far as I know now absent some error all I really expect is S_OK. I'm
adding in the python.com_error checking now and starting careful testing.
If something other than S_OK turns up in the IE interface I'll let you know.
Thanks.
Regards,
Richard
|> As to what codes I'm expecting ... heaven only knows. I'm
|> working with IE 7
|> now and it appears willing to return most anything under
|> various boundary conditions.
|
|I guess I was asking if you are expecting any 'success' codes other than
|S_OK. These are rare, and always explicitly documented. If your concern
|is
|restricted to errors, then you will find that catching pythoncom.com_error
|is reliable.
|
|Cheers,
|
|Mark
More information about the Python-win32
mailing list