Bar2Ds

This call sets the users serial number and is required to allow the DLL to function fully.

int WINAPI Bar2Ds(LPSTR szser)

A single call to Bar2Ds() must be made before any other calls to the DLL, with the serial number provided either as a null-terminated string or as a BSTR variant.

In the absence of a valid serial number the DLL will behave as a testware version and produce scrambled barcodes and pattern strings. This scrambling may prevent samples of Databar and Maxicodes being unscannable.

Visual Basic declaration:

Private Declare Function Bar2Ds Lib "Dls2Dun" (ByVal s As String) As Long

 

More:

Bar2DAsk and Bar2DAskEx