Enables or disables notification of COM errors.
Enabled := ComObjError(Enable)
A boolean value (true or false). Optional.
[v1.0.91+]: Receives the setting which was in effect before the function was called.
After accessing a COM object, A_LastError contains the HRESULT code returned by the COM object's IDispatch::Invoke function. Scripts may implement their own error-handling by calling
ComObjError(false) to disable error notifications and consulting the value of A_LastError.
ComObjCreate, ComObjGet, ComObjActive, ComObjConnect