| Home > Function descriptions > | History back Previous chapter Next chapter Print |
SetErrorReport |
|
uEye ActiveX Manual Version 4.00
Syntax
LONG SetErrorReport (LONG nEnable)
Description
SetErrorReport() sets the error report mode. When the error report mode is active, an error event is fired every time an error occurs. It’s up to the ActiveX container how to handle an error. Most Environments displays an error message box.
If the error report mode is not active, errors may be called up with GetError() and GetErrorText().
Parameters
nEnable |
|
IS_DISABLE_ERR_REP |
Disable the error report. |
IS_ENABLE_ERR_REP |
Enable the error report. |
Return values
IS_SUCCESS |
Function executed successfully |
IS_NO_SUCCESS |
General error message |
Related properties
Related functions