Using AbriBCF.dll in Visual Foxpro, Visual Basic and other MS Windows oriented languages.
=========================================================================================

NOTE: AbriBCF.dll is Copyright of Abri Technologies 2005 and is to be
used only with Abri Barcode fonts.

These required DLL declare programming commands cover the the
different Abri barcode encoding functions.

Required line declaration in Visual Foxpro for the different barcode functions:
-------------------------------------------------------------------------------
Declare STRING code128 IN AbriBCF.dll STRING, STRING
Declare STRING USPostNet IN AbriBCF.dll STRING
Declare STRING UPCA IN AbriBCF.dll STRING
Declare STRING UPCE IN AbriBCF.dll STRING
Declare STRING EAN13 IN AbriBCF.dll STRING
Declare STRING EAN8 IN AbriBCF.dll STRING

In Visual Basic the declarations would be:
------------------------------------------
Declare Function code128 Lib "AbriBCF.dll" (CodeType As String, CodeString As String) As String
Declare Function USPostNet Lib "AbriBCF.dll" (CodeString As String) As String
Declare Function UPCA Lib "AbriBCF.dll" (CodeString As String) As String
Declare Function UPCE Lib "AbriBCF.dll" (CodeString As String) As String
Declare Function EAN13 Lib "AbriBCF.dll" (CodeString As String) As String
Declare Function EAN8 Lib "AbriBCF.dll" (CodeString As String) As String

Other Windows oriented languages:
---------------------------------
You will need to find the .dll declaration syntax for the language you
are using. The C/C++ AbriBCF.dll function definitions only have "char
*string" types. For example the code128 function declaration is as
char *code128(char *Subset, char *InpString)

Example:
---------------------------------------------------------------------
In Visual Foxpro to use the Code128 encoding function with subset 'B'
you would include the following statements 

*--------------------
Declare STRING code128 IN AbriBCF.dll STRING, STRING

*........ other program code .........

cBarcodeString = code128("B", "31487B, electric drill.")

*........ other program code .........

*-------- end of code

The value cBarcodeString in above would be

31487B,electricdrill.E

and when used with Abri Barcode 128 fonts it would be scanned

as >>>31487B, electric drill.<<<
