The following values may be returned in the system variable FUNCTION_RETURN (the run-time error number appears in brackets, where applicable):
0 function executed successfully, value assigned
1 error in a function parameter, value set to empty
-1 invalid line number passed to DLL (5051)
-2 invalid function call (5051)
-3 i/o error occurred (5051)
-4 program exception occurred during DLL processing (4050)
-5 buffer overrun in function parameters (5052)
-10 expression error for Evaluate (5051)
If a run-time error occurs, no assignment will be made to the variable and it will retain its original value, if any.
The following values are returned by the OCRConvertDocument function:
1 image was not found or incorrect format
2 could not open image file
3 read of image file failed
4 expected page count did not match pages read
5 specified page out of range
6 failed to launch OmniPage
7 OmniPage login failed
8 OmniPage login aborted
9 OmniPage application is busy
10 exception occurred in conversion
Topic url: http://www.copia.com/support/refmanual/index.html?appsupperrorvalues.htm