Image Viewer CP ActiveX Control

Distributing your Applications


If you create a setup program for your application, you may need to install one or more additional files. The table below shows all the files necessary for the Image Viewer CP Pro ActiveX Control to operate properly. These files can be found in the directory where the Image Viewer CP Pro ActiveX Control was installed.

You must ensure that the files exist (or are installed) on your client's machine and that they are the proper version. If the client's machine has older versions of these files, you should update them during the installation process.

1.

gdiplus.dll

2.

viscompdf.dll  (same as imageviewer2.ocx folder)

3.

msvcrt.dll

4.

mfc42.dll

5.

viscomgifenc.dll (same as imageviewer2.ocx folder)

6.

viscompsd.dll (same as imageviewer2.ocx folder)

7.

viscomdocx.dll (same as imageviewer2.ocx folder)

8.

TIFF2PDF.dll (same as imageviewer2.ocx folder)

 

 

 

If you use the OCR plugin, you also need to distribute the following files:

9.

viscomocr.dll (same as imageviewer2.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. Make sure dictfiles folder that include tessdata folder.
The dictfiles folder should same as imageviewer.ocx folder

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

.

If you use the Advanced PDF Viewer and PDF Edit plugin, you also need to distribute the following files:

11.

viscompdfreader.dll

12.

viscompdfedit.dll

 

If you use the DICOM plugin, you also need to distribute the following files:

13.

viscomdicom.dll (same as imageviewer2.ocx folder)

 

If you use the Barcode Reader plugin, you also need to distribute the following files:

14.

viscombarcodereader.dll (same as imageviewer2.ocx folder)

15.

viscombarcodewriter.dll (same as imageviewer2.ocx folder)

16.

viscomqrwriter.dll (same as imageviewer2.ocx folder)

17.

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


Optional OCR Language Dictionaries Files

  • Arabic language data: ara.traineddata, ara.cube.bigrams, ara.cube.fold, ara.cube.lm, ara.cube.nn, ara.cube.params, ara.cube.size, ara.cube.word-freq
  • Bulgarian language data: bul.traineddata
  • Catalan language data: cat.traineddata
  • Czech language data: ces.traineddata
  • Chinese (Simplified) language data: chi_sim.traineddata
  • Chinese (Traditional) language data: chi_tra.traineddata
  • Cherokee language data: chr.traineddata
  • Danish language data: dan.traineddata
  • Danish (Fraktur) language data: dan-frak.traineddata
  • German language data: deu.traineddata
  • Fraktur Language data (Old German) : deu-frak.traineddata
  • Greek language data: ell.traineddata
  • English language data: eng.traineddata
  • Finnish language data: fin.traineddata
  • French language data: fra.traineddata
  • Hebrew language data: heb.traineddata
  • Hindi language data: hin.traineddata, hin.cube, hin.cube.fold, hin.cube.lm, hin.cube.nn, hin.cube.params, hin.cube.word-freq, hin.tesseract_cube.nn
  • Hungarian language data : hun.traineddata
  • Indonesian language data: ind.traineddata
  • Italian language data: ita.traineddata
  • Japanese language data: jpn.traineddata
  • Korean language data: kor.traineddata
  • Latvian language data: lav.traineddata
  • Lithuanian language data: lit.traineddata
  • Dutch language data: nld.traineddata
  • Norwegian language data: nor.traineddata
  • Polish language data: pol.traineddata
  • Portuguese language data: por.traineddata
  • Romanian language data: ron.traineddata
  • Russian language data: rus.traineddata
  • Slovakian language data: slk.traineddata
  • Slovakian Fraktur Language data: slk-frak.traineddata
  • Slovenian language data: slv.traineddata
  • Spanish language data: spa.traineddata
  • Serbian (Latin) language data: srp.traineddata
  • Swedish language data: swe.traineddata
  • Swedish (Fraktur) language data: swe-frak.traineddata
  • Tagalog language data: tgl.traineddata
  • Thai language data: tha.traineddata
  • Turkish language data: tur.traineddata
  • Ukrainian language data: ukr.traineddata
  • Vietnamese language data: vie.traineddata 
  • Read MICR number, cheque number: micr.traineddata
     

To get all supported languages files, you have to download the language pack from http://www.viscomsoft.com/ocrlanguage.zip