Image Viewer CP 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 Image Viewer CP ActiveX Control to operate properly (You can find in REDIST 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.

gdiplus.dll

2.

msvcrt.dll

3.

mfc42.dll

4.

viscomocr.dll (same as imageviewer2.ocx folder)  If you use OCR plugin, you also need distribute following files

5.

Additionally, some files depending of the language of recognition must be accessible. If you use OCR plugin, you also need distribute following files

.

e.g. If your application must recognize english text, you need to deploy eng.DangAmbigs, eng.freq-dawg, eng.inttemp, eng.normproto, eng.pffmtable, eng.unicharset, eng.user-words and eng.word-dawg.
For simple method: you distribute dictfiles folder and all dictionary files.
The dictfiles folder should same as imageviewer2.ocx folder

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

 

6.

TIFF2PDF.dll (same as imageviewer2.ocx folder)

7.

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