Preparing Your Application For Shipping

When your application has been developed, you will probably want to build an installation script or want to know which DLL and OCX’s must be shipped with the application.

 

If your application uses the Document Imaging SDK DLLs, the Document Imaging SDK runtime DLLs, and the .dat file must be in a folder that is pointed to by the environment variable “PATH=”,

or in the same folder as your Application executable file will be.

 

If your application uses the Document Imaging SDK OCX files, the Document Imaging SDK runtime DLLs, lic files, and the .dat file must be in the same folder as the OCX files.

If you are using the Document Imaging SDK OCX files from a .NET application, the Interop.*.dll files and the AxInterop.*.dll files must be in the same folder as your Application executable file.

 

Recommended to copy the required DLLs, lic files, and the .dat file into the same folder as the Application’s executable file.

 

For example: “C:\Program Files\ABC Company\My Application\”

 

The following DLL and OCX’s can be shipped with your application:

 

32-bit Document Imaging SDK files:

 

BiAnno.dll        

Annotation functions dynamic library.

BiAnnoDlg.dll     

BiAnnoDlg functions dynamic library

BiAdvPrn.dll      

BiAdvPrn functions dynamic library

BiDb.dll          

BiDb functions dynamic library

BiDib.dll         

BiDib functions dynamic library.

BiDicom.dll       

BiDicom functions dynamic library.

BiDisp.dll        

Image displaying functions dynamic library.

BiDlgs.dll        

Common dynamic library.

BiDocImg.dll      

Image correcting functions dynamic library.

BiFilter.dll      

Image filter functions dynamic library

BiGif.dll         

Gif handling functions dynamic library.

BiImage.dll       

Image conversion functions dynamic library.

BiJpeg.dll        

JPEG dynamic library.

BiJPEGExt.dll     

BiJPEGExt functions dynamic library

BiOCR.dll         

OCR functions dynamic library

BiPCX.dll         

Pcx handling functions dynamic library.

BiPDF.dll         

Pdf handling functions dynamic library.

BiPng.dll         

Png  handling functions dynamic library.

BiPrint.dll       

Image printing functions dynamic library.

BiTga.dll         

Tga handling functions dynamic library.

BiThumbnail.dll   

BiThumbnail functions dynamic library

BiTiff.dll        

Tiff handling functions dynamic library.

BiTwain.dll       

Scan functions dynamic library.

BiVision.dll      

BiVision functions dynamic library

lcms2.dll         

Little CMS dynamic library

BiAnno.ocx        

Annotation ActiveX control

BiAdvPrnA.ocx     

BiAdvPrn ActiveX control

BiAdvprnW.ocx     

BiAdvprn ActiveX control

BiDb.ocx          

ActiveX control

BiDib.ocx         

DIB ActiveX control

BiDisp.ocx        

Display ActiveX control

BiDicom.ocx       

DICOM ActiveX control

BiDocImg.ocx      

Document Imaging ActiveX control

BiFilter.ocx      

Filter ActiveX control

BiImage.ocx       

Imaging ActiveX control

BiImgFrm.ocx      

File Formats ActiveX control

BiOCR.ocx         

OCR AcitveX control

BiPdf.ocx         

PDF ActiveX control

BiPrint.ocx       

Printing ActiveX control

BiThumbnail.ocx   

BiThumbnail ActiveX control

BiTiff.ocx        

TIFF ActiveX control

BiTwain.ocx       

TWAIN ActiveX control

BiVision.ocx      

BiVision ActiveX control

BiAnno.lic        

Annotation licensing control

BiAdvPrnA.lic     

BiAdvPrn licensing control

BiAdvprnW.lic     

BiAdvPrn licensing control

BiDb.lic          

BiDb licensing control

BiDib.lic         

DIB licensing control

BiDisp.lic        

Display licensing control

BiDicom.lic       

DICOM licensing control

BiDocImg.lic      

Document imaging licensing control

BiFilter.lic      

Filter licensing control

BiImage.lic       

Imaging licensing control

BiImgFrm.lic      

File Formats licensing control

BiOCR.lic         

OCR licensing control

BiPdf.lic         

PDF licensing control

BiPrint.lic       

Printing licensing control

BiThumbnail.lic   

BiThumbnail licensing control

BiTiff.lic        

TIFF licensing control

BiTwain.lic       

TWAIN licensing control

BiVision.lic      

BiVision licensing control

   

License.dll               

Black Ice License Manager dynamic library

License_DOCIMG_SDK_release.dat

 

BiOCR (folder)

Tesseract configuration and language files

vcomp140.dll

Microsoft OpenMP Runtime DLL, used by the OCR engine (Tesseract). Please note that the name of the 32-bit and 64-bit versions of this DLL are identical, but the DLLs differ. Please make sure you use the vcomp140.dll from the right folder. (Document Imaging SDK for Windows 32-bit or Document Imaging SDK for Windows 64-bit)

BiVPDF.dll 

Used by the vector pdf functions in the BiPDF.dll.

BiVPDF (folder)

Used by the vector pdf functions in the BiPDF.dll. Please note that the name of the 32-bit and 64-bit folders are identical, but the DLLs in the folder differ. Please make sure you use the right BiVPDF folder. (Document Imaging SDK for Windows 32-bit or Document Imaging SDK for Windows 64-bit)

TWAINDSM.dll

Used by the scanning functions in BiTwain.dll. Please note that the name of the 32-bit and 64-bit versions of this DLL are identical, but the DLLs differ. Please make sure you use the TWAINDSM.dll from the right folder. (Document Imaging SDK for Windows 32-bit or Document Imaging SDK for Windows 64-bit)

 

64-bit Document Imaging SDK files:

 

BiAnnox.dll     

Annotation functions dynamic library.

BiAnnoDlgx.dll  

BiAnnoDlg functions dynamic library

BiAdvPrnx.dll   

BiAdvPrn functions dynamic library

BiDbx.dll       

BiDb functions dynamic library

BiDibx.dll      

BiDib functions dynamic library.

BiDicomx.dll    

BiDicom functions dynamic library.

BiDispx.dll     

Image displaying functions dynamic library.

BiDlgsx.dll     

Common dynamic library.

BiDocImgx.dll   

Image correcting functions dynamic library.

BiFilterx.dll   

Image filter functions dynamic library

BiGifx.dll      

Gif handling functions dynamic library.

BiImagex.dll    

Image conversion functions dynamic library.

BiJpegx.dll     

JPEG dynamic library.

BiJPEGExtx.dll  

BiJPEGExt functions dynamic library

BiOCRx.dll      

OCR functions dynamic library

BiPCXx.dll      

Pcx handling functions dynamic library.

BiPDFx.dll      

Pdf handling functions dynamic library.

BiPngx.dll      

Png  handling functions dynamic library.

BiPrintx.dll    

Image printing functions dynamic library.

BiTgax.dll      

Tga handling functions dynamic library.

BiThumbnailx.dll

BiThumbnail functions dynamic library

BiTiffx.dll     

Tiff handling functions dynamic library.

BiTwainx.dll    

Scan functions dynamic library.

BiVisionx.dll   

BiVision functions dynamic library

lcms2x.dll      

Little CMS dynamic library

BiAnnox.ocx     

Annotation ActiveX control

BiAdvPrnAx.ocx  

BiAdvPrn ActiveX control

BiAdvprnWx.ocx  

BiAdvprn ActiveX control

BiDbx.ocx       

ActiveX control

BiDibx.ocx      

DIB ActiveX control

BiDispx.ocx     

Display ActiveX control

BiDicomx.ocx    

DICOM ActiveX control

BiDocImgx.ocx   

Document Imaging ActiveX control

BiFilterx.ocx   

Filter ActiveX control

BiImagex.ocx    

Imaging ActiveX control

BiImgFrmx.ocx   

File Formats ActiveX control

BiOCRx.ocx      

OCR ActiveX control

BiPdfx.ocx      

PDF ActiveX control

BiPrintx.ocx    

Printing ActiveX control

BiThumbnailx.ocx

BiThumbnail ActiveX control

BiTiffx.ocx     

TIFF ActiveX control

BiTwainx.ocx    

TWAIN ActiveX control

BiVisionx.ocx   

BiVision ActiveX control

BiAnno.lic      

Annotation licensing control

BiAdvPrnA.lic   

BiAdvPrn licensing control

BiAdvprnW.lic   

BiAdvPrn licensing control

BiDb.lic        

BiDb licensing control

BiDib.lic       

DIB licensing control

BiDisp.lic      

Display licensing control

BiDicom.lic     

DICOM licensing control

BiDocImg.lic    

Document imaging licensing control

BiFilter.lic    

Filter licensing control

BiImage.lic     

Imaging licensing control

BiImgFrm.lic    

File Formats licensing control

BiOCR.lic       

OCR licensing control

BiPdf.lic       

PDF licensing control

BiPrint.lic     

Printing licensing control

BiThumbnail.lic 

BiThumbnail licensing control

BiTiff.lic      

TIFF licensing control

BiTwain.lic     

TWAIN licensing control

BiVision.lic    

BiVision licensing control

License64.dll   

Black Ice License Manager dynamic library

License_DOCIMG_SDK_release.dat

 

BiLeptonicax.dll

Leptonica dynamic library

BiTesseractx.dll

Tesseract dynamic library

BiOCR (folder) 

Tesseract configuration and language files

vcomp140.dll

Microsoft OpenMP Runtime DLL, used by the OCR engine (Tesseract). Please note that the name of the 32 bit and 64-bit versions of this DLL are identical, but the DLLs differ. Please make sure you use the vcomp140.dll from the right folder. (Document Imaging SDK for Windows 32-bit or Document Imaging SDK for Windows 64-bit)

BiVPDFx.dll

Used by the vector pdf functions in the BiPDF.dll.

BiVPDF (folder)

Used by the vector pdf functions in the BiPDF.dll. Please note that the name of the 32-bit and 64-bit folders are identical, but the DLLs in the folder differ. Please make sure you use the right BiVPDF folder. (Document Imaging SDK for Windows 32-bit or Document Imaging SDK for Windows 64-bit)

TWAINDSM.dll 

Used by the scanning functions in BiTwain.dll. Please note that the name of the 32-bit and 64-bit versions of this DLL are identical, but the DLLs differ. Please make sure you use the TWAINDSM.dll from the right folder. (Document Imaging SDK for Windows 32-bit or Document Imaging SDK for Windows 64-bit)

 

NOTE: Some functions in the DLLs might need other DLLs to work correctly. E.g.: the LoadImageIntoDIB function in the BiDib.dll may require the following DLL files depending on the file type you are trying to load: BiTiff.dll, BiPDF.dll, BiJPEG.dll, BiPNG.dll, BiPCX.dll, BiGif.dll, BiTga.dll. It is recommended to ship all DLLs with your application. If you want to leave out some DLLs, please test all functions you call from your application to make sure you do not need the other DLLs.

The OCX files always require their similarly named DLL counterpart, E.g: BiDib.ocx will need BiDib.dll. If your application does not use the ActiveX (.OCX) controls, you do not need to ship the OCX files with your application.

 

NOTE: The proper .LIC files and .DAT files MUST be shipped beside the shipped DLL and OCX files!

 

The OCX files must be registered after installation. Some installers might provide a way to automatically register the files, otherwise, you need to register the files using the regsvr32 command-line utility. Please see the following page: Registering the ActiveX controls (OCX) for redistribution

 

The table below shows the class id (CLSID) of the 32-bit and 64-bit versions of the Document Imaging SDK controls. The 32-bit and 64-bit ActiveX controls have the same class id.

 

BiAnno.ocx:     

B27DC3CE-FF81-4DCF-9B80-0E69D61BED2A

BiDib.ocx:      

D2797899-BE27-4CDB-892F-4FDC26EA9BA9

BiDisp.ocx:     

19B50C95-6BB5-4DFD-B20C-5B9A61FA1C0D

BiDocimg.ocx:   

86808EAB-1E42-425B-875B-6ABA81FF3513

BiFilter.ocx:   

BF717723-6861-4396-B2E4-A4F394F72615

BiImage.ocx:    

B6107149-7C76-4303-A879-94278D8DFF22

BiImgFrm.ocx:   

79956462-F148-497F-B247-DF35A095F80B

BiOCR.ocx:      

36CEB7CA-2963-4477-A4B6-99D80C8012C5

BiPdf.ocx:      

D095F965-72A1-444D-834A-32FAE03A3207

BiPrint.ocx:    

3D806C87-EE83-46D6-AB30-12D62715D8A1

BiTiff.ocx:     

2324B5B7-D3EF-464C-BB35-06EFF8F11EB3

BiTwain.ocx:    

03F24F12-2945-4F7D-B646-12B8EBED3A63

BiThumbnail.ocx:

52EDBE7D-9F40-49C8-B244-4D4633F0379A

BiDicom.ocx: 

955DF182-16DB-471A-A35A-35CB319B655A

 

The RegDllView utility can be used to display an OCX CLSID.