Nicomsoft OCR: Developer's Guide


Nicomsoft OCR Error Codes


NAMEHEXDECDescription
ERROR_FIRST0x700000001879048192The error code offset. If any function returns a value greater than this constant, it means that the function failed with some error code.
ERROR_FILENOTFOUND0x700000011879048193The file was not found.
ERROR_LOADFILE0x700000021879048194Cannot load the file.
ERROR_SAVEFILE0x700000031879048195Cannot save the file.
ERROR_MISSEDIMGLOADER0x700000041879048196Cannot find or load the "NsImgLdr.dll" file in the "Bin" directory.
ERROR_OPTIONNOTFOUND0x700000051879048197There is no such option in the current configuration.
ERROR_NOBLOCKS0x700000061879048198The Image object must have at least one text block for this operation.
ERROR_BLOCKNOTFOUND0x700000071879048199Cannot find the specified Block object.
ERROR_INVALIDINDEX0x700000081879048200An invalid index was specified.
ERROR_INVALIDPARAMETER0x700000091879048201An invalid parameter was specified.
ERROR_FAILED0x7000000A1879048202A general error.
ERROR_INVALIDBLOCKTYPE0x7000000B1879048203An invalid block type was specified.
ERROR_EMPTYTEXT0x7000000D1879048205The text block, line, or character is empty.
ERROR_LOADINGDICTIONARY0x7000000E1879048206Cannot load the dictionary file (.lng file) or NsSpell.dll.
ERROR_LOADCHARBASE0x7000000F1879048207Cannot load the character templates file.
ERROR_NOMEMORY0x700000101879048208Not enough memory for the operation.
ERROR_CANNOTLOADGS0x700000111879048209GhostScript is required for PDF support, see the PDF Support section for details.
ERROR_CANNOTPROCESSPDF0x700000121879048210GhostScript was unable to start or process the PDF file.
ERROR_NOIMAGE0x700000131879048211No image was loaded for OCR.
ERROR_MISSEDSTEP0x700000141879048212Some OCR steps required for this operation were skipped. Call Img_OCR before this operation.
ERROR_OUTOFIMAGE0x700000151879048213The specified block position is out of the image.
ERROR_EXCEPTION0x700000161879048214An unexpected exception! Please contact us if you get this error.
ERROR_NOTALLOWED0x700000171879048215The operation is prohibited. Refer to the function documentation for details.
ERROR_NODEFAULTDEVICE0x700000181879048216There is no default scanning device.
ERROR_NOTAPPLICABLE0x700000191879048217The function is not applicable for this block type.
ERROR_MISSEDBARCODEDLL0x7000001A1879048218Cannot find or load the "NsBars.dll" file in the "Bin" directory.
ERROR_PENDING0x7000001B1879048219The operation has not been finished yet.
ERROR_OPERATIONCANCELLED0x7000001C1879048220The operation was cancelled.
ERROR_TOOMANYLANGUAGES0x7000001D1879048221Too many languages were selected for recognition (more than 8).
ERROR_OPERATIONTIMEOUT0x7000001E1879048222The operation takes too much time. See the "Main/Timeout" option.
ERROR_LOAD_ASIAN_MODULE0x7000001F1879048223Cannot load Asian module "asian.dll".
ERROR_LOAD_ASIAN_LANG0x700000201879048224Cannot load ".lng" file from "asian" folder.
ERROR_INVALIDOBJECT0x700100001879113728An invalid object was specified.
ERROR_TOOMANYOBJECTS0x700100011879113729Too many objects were created. Probably you create new objects with the XXX_Create function in a loop, but do not release them with the XXX_Destroy function.
ERROR_DLLNOTLOADED0x700100021879113730Cannot find or load the "NSOCR.dll" file.
ERROR_DEMO0x700000031879113731A limitation of the trial version.