10350 Santa Monica Blvd. Suite 285, Los Angeles, CA 90025
Phone: 310-691-8920, 310-788-9840, Fax: 419-735 -2419
Card Scanning Solutions
30
Library CBarCode: General Functionality
CBarCode library functionality is similar to idData library. It extract the data from 2D, PDF417 type
bar code image. The library fetches the internal image (the last scanned image), process its graphic
information and activates its internal image analyzer. The resultant text is kept in internal data structure
ready to be retrieved by the ap plication.
Notice: The library processes only the last image that was recently scanned. The library does not
support external image file processing.
NOTE: The image MUST be scanned in 600dpi, gray scale (256 shades of gray) format.
CBarCode Library Functions
1.1.35.
InitLibrary
Format
Parameters
[in]
License
– Null terminated string that holds license key value.
Return
LICENSE_VALID
: License is valid and the library is ready to be used.
LICENSE_INVALID
: The license is invalid. All scanner operati ons are disabled.
LICENSE_EXPIRED
: License has expired. All scanner operations are disabled.
LICENSE_DOES_NOT_MATCH_LIBRARY
: The license is invalid for this library. All library
operations are disabled.
GENERAL_ERR_PLUG_NOT_FOUND
: This error returns if the attached scanner is not one of the
following scanners:
ScanShell 600
ScanShell 800
ScanShell 1000
SLIB_LIBRARY_ALREADY_INITIALIZED
: The
InitLibrary
function call is ignored since the
library is already loaded.
Remarks
Use this function to initialize the CBarCode library. This function must be called before calling any
other function in the library.
InitLibrary
(
License
As String) As Long