Pegasus Imaging Corporation
Accusoft Pegasus

imaging SDKs that accelerate development

Barcode Xpress™ v6 FAQ

Contact Support



Q1How do I distribute my application?
Q2What DLL’s so I need to distribute with my BarcodeXpress v6 application?
Q3Why when using the BarcodeXpress control why do I see a memory issue when analyzing barcodes on the image?

Q1: How do I distribute my application?
Please note: You must have received unlock codes in order to distribute applications. These are received when runtimes are purchased. If you have not received them please Contact Sales.

1) If you are using the .NET interface you must call the UnlockRuntime method in the Licensing class where the application begins and pass the unlock codes as the parameters. For example:

barcodeXpress1.Licensing.UnlockRunTime(1234,1234,1234,1234);

2) If you are using the ActiveX control you must call the UnlockRuntime method where your application begins and pass the unlock codes as the parameters. For example:

barcodeXpress1.UnlockRuntime 1234,1234,1234,1234

Q2: What DLL’s so I need to distribute with my BarcodeXpress v6 application?
1) If you are using the ActiveX interface please distribute the following DLL:

Accusoft.BarcodeXpress6.ActiveX.DLL

Please Note: You must register the Accusoft.BarcodeXpress6.ActiveX.DLL either via your installation program or manually via the regsvr32.exe utility.

2) If you are using the .NET interface please distribute the following DLL:

Accusoft.BarcodeXpress6.NET.DLL

Q3: Why when using the BarcodeXpress control why do I see a memory issue when analyzing barcodes on the image?
The likely reason is that the image data being passed in for barcode analysis is not being released. Please refer to the appropriate sample code listed below which demonstrates how the image data needs to be released after the analysis has been performed.

C#

//Where DIB is the value being passed in to be analyzed

barcodeXpress1.reader.Analyze(DIB);
Marshal.FreeHGlobal(DIB);

Visual Basic 6

'Declare the GlobalFree API function

Private Declare Function GlobalFree Lib "kernel32" (ByVal hMem As Long) As Long

'where DIB is the value being passed in to be analyzed

BarcodeXpress1.Analyzebarcode DIB
GlobalFree DIB