Thank you for choosing SimpleOCR–the royalty-free OCR engine! These instructions will tell you the basics of how to integrate SimpleOCR into your application.
SimpleOCR contains several group of functions including image manipulation, image I/O with TIFF files, image acquisition with TWAIN compliant scanners, and of course, OCR. Note that SimpleOCR can read and create TIFF files containing bi-level (i.e. black & white) images. TIFF files are created by SimpleOCR using the CCITT Group IV compression scheme, but it can read most TIFF bi-level images.
The source code examples are given in VB and C++. The function headers are given in C++, since this is the original language that SimpleOCR was written in. To translate, simply replace all pointer variables with long integers and all char * with strings. Also, the ActiveX functions all have an “X” appended to the name (OCR->OCRX, LoadImg->LoadImgX, etc.). In the documentation, SimpleOCR refers to general library functions, while SimpleOCX is used to refer specifically to the ActiveX control.
SimpleOCX is an ActiveX dynamic link library (Dll) that allows developers to quickly integrate the SimpleOCR functions from any ActiveX-compatible programming environment. SimpleOCX acts as a “wrapper” for the core SimpleOCR libraries. Hence, SimpleOCX is not a native ActiveX control; it only provides an ActiveX interface to the SimpleOCR functions contained in ocrdll.dll and dlltwain.dll. Programmers who desire more efficient execution may forgo use of SimpleOCX.dll and interface directly with the core libraries.