Using RTK DLLs and ActiveX Controls from Your Application

1.    Copy the DLLs and ActiveX files used by your application into the directory of your executable.

2.    Unregister the ActiveX Control (the ocx file) in its old directory.

3.    Reregister the ActiveX Control in its new place

You can register or unregister a control using two methods:

a.    Using the ActiveX test container found in Visual Studio (the one found in the menu under Tools is only for 32 bit controls)

b.    Using the regsvr32 command line utility

·   To unregister:           regsvr32 /u control.ocx

·   To register:    regsvr32 control.ocx

 

Example: Using the BiAutoPrint DLL or ActiveX Control with your Application

 

Copy the following files from the “<RTK Installation Folder>\<RTK 64/32 bit>\Samples” folder into the directory of your executable:

·         BiAutoPrint.ocx (only if you use the ActiveX control)

·         BiAutoPrint.dll (even if you use the the ActiveX control but not the dll)

·         Document Imaging Files (for printing Images, only for 32 bit Auto-print):

o   License.dll

o   License_IMAGE_SDK_demo.dat

o   BIDIB.dll

o   BiGif.dll

o   BiJpeg.dll

o   BiPng.dll

o   BiPrint.dll

o   BiTiff.dll

o   License.dll

·         BiPrintOffice.exe for printing Office and text documents

·         BiPrintPDF.exe for printing PDF documents

·         BiPrintHTML.exe for printing HTML documents

·         BiPrintXPS.exe for printing XPS documents

·         BiAutoPDF.exe (for 32-bit)

·         BiAutoPDFx.exe (for 64-bit)

·         Lcms2.dll (for 32-bit)

·         Lcms2x.dll (for 64-bit)

·         BlackIceDEVMODE.dll

·         BlackIceDEVMODE.ocx (Needs to be registered into the OS)

·         Interop.BIAUTOPRINTLib.dll

·         AxInterop.BIAUTOPRINTLib.dll (32 bit only)

·         Interop.BLACKICEDEVMODELib.dll

·         AxInterop. BLACKICEDEVMODELib.dll (32 bit only)

·         SampleSettings.INI file

 

If you use the Auto-print ActiveX control from your application reregister it from the directory of your executable using one of the methods above.