<< back to sysax.com Product page

8.3. Verifying Compare

The IsCompareSuccess method can be used to determine if a comparison operation initiated by the CompareRun methods was successful.

Exhibit 8.5. IDL Definition of method for verifying compare

HRESULT IsCompareSuccess    ([out, retval] VARIANT_BOOL *f_is_success);

Exhibit 8.6. Example usage of method for verifying compare (VBScript)

'check if the compare operation was successful
If app.IsCompareSuccess Then
  'compare was successful
End If