Scanner ActiveX Control

Distributing your Applications


If you create a setup program for your application, you must install another dll files. the table below shows all the

files necessary for Scanner ActiveX Control to operate properly (You can find in Scanner ActiveX Control directory).

You must ensure that the files exist on your client's machine and they are the proper version. If your client's machine has

 older versions of  these files, you should update them.

1.

scanner.ocx  (need use regsvr32 command to register this component)

2.

gdiplus.dll

3.

viscompdf.dll  (same as scanner.ocx folder)

4.

msvcrt.dll

5.

mfc42.dll

6.

viscomdocx.dll

7.

TIFF2PDF.dll

 

 

 

If you use OCR plugin, you also need distribute following files

8.

viscomocr.dll (same as scanner.ocx folder)

10.

Additionally, some files depending of the language of recognition must be accessible.

.

e.g. If your application must recognize english text, you need to deploy eng.cube.bigrams, eng.cube.fold, eng.cube.lm, eng.cube.nn, eng.cube.params, eng.cube.size, eng.cube.word-freq, eng.tesseract_cube.nn and eng.traineddata.
For simple method: you distribute dictfiles folder that include tessdata and all dictionary files.
The dictfiles folder should same as scanner.ocx folder

If the folder named dictfiles, you should set the strDictionaryPath parameter as "dictfiles" in OCRStartScan method
e.g.
Scanner1.OCRStartScan(0, "dictfiles")

10.

 viscombarcodereader.dll (If you use Barcode Reader plugin, you also need distribute this files)

11.

 viscompdfreader.dll  (If you use Advanced PDF Viewer plugin, you also need distribute this files)