VB declaration
Declare Function dBarFonts Lib "DFONT32.DLL" (ByVal icode As Long, ByVal xin As String, ByVal flags As Long, ByVal fout As String) As Long
C declaration
int WINAPI dBarFonts( int icode, LPSTR sztin, int Flags, LPSTR fout);
where fout contains the fully qualified filename of the text file to receive the barcode text, and the other parameters have the same meaning as for dBarFont().
The dBarFonts function saves the barcode text to a file name specified in the fout parameter.
The function return the number of bytes copied to the file, or –1 in the case of an error.
More: