Here is a list of the standard return codes of ABBYY FineReader Engine functions and properties.
| Return code | Value | Description |
|---|
| S\_OK | 0 (&H00000000L) | Method completed successfully. |
| E\_OUTOFMEMORY | \-2147024882 (&H8007000EL) | There was not enough memory to perform the operation. |
| E\_UNEXPECTED | \-2147418113 (&H8000FFFFL) | Unexpected internal error. |
| E\_ABORT | \-2147467260 (&H80004004L) | Operation was aborted by the user. |
| E\_NOTIMPL | \-2147467263 (&H80004001L) | Method is not implemented. |
| E\_POINTER | \-2147467261 (&H80004003L) | Invalid pointer argument. |
| E\_INVALIDARG | \-2147024809 (&H80070057L) | One or more arguments are invalid. |
| ERROR\_DISK\_FULL | \-2147024784 (&H80070070L) | Not enough disk space. |
| CO\_E\_OBJNOTCONNECTED | \-2147220995 (&H800401FDL) | A pointer to an object was passed that is no longer valid (this object was destroyed). |
| CO\_E\_NOT\_SUPPORTED | \-2147467231 (&H80004021L) | Some property or method is not available under the current license. |
| CLASS\_E\_NOTLICENSED | \-2147221230 (&H80040112L) | Licensing error. |
| E\_FAIL | \-2147467259 (&H80004005L) | Unspecified error. |
These return codes you can find in the Microsoft® Platform Software Development Kit (SDK) header file winerror.h.
Here is a list of interface-specific return codes of ABBYY FineReader Engine functions and properties. All these codes are defined in the ABBYY FineReader Engine type library.
| Return code | Value | Description |
|---|
| FREN\_E\_PATTERN\_TRAINING\_ABORTED | \-2147221503 (&H80040001) | Pattern training was aborted by the user. |
| FREN\_E\_INVALID\_CREATION\_DATE\_FORMAT | \-2147221502 (&H80040002) | During export to PDF/XPS format the creation date format was found to be invalid. |
| FREN\_E\_INVALID\_MODIFICATION\_DATE\_FORMAT | \-2147221501 (&H80040003) | During export to PDF/XPS format the modification date format was found to be invalid. |
| FREN\_E\_PDFA\_CONVERSION\_FAILED | \-2147221500 (&H80040004) | An error occurred while converting the page of the PDF document. |
Other return codes are possible, specifically those related to file system errors.
See also
Error Handling