The dFont DLL contains a function which enables the barcode type required to be selected from a popup dialog box. This is particularly useful where several barcode types are being supported. It is not necessary to call this function – the parameters used in the dBarFont() calls may be fixed – but when dBFAsk() is called the CodeType and Flags parameters it returns may be used in a following call to the dBarFont() function.
Most applications which will call this function require the function name and the name of the DLL to be declared within the application.
VB declaration
Declare Function dBFAsk Lib "DFONT32.DLL" ( icode As Long, flags As Long) As Long
[Note that ByVal should NOT be used in this case]
C declaration
int WINAPI dBFAsk( LPINT pCodetype, LPINT pFlags);
to appear at the start of the program (or in the declarations section/header file).
Note that some systems are case sensitive and require the function name to be specified as dBFAsk - not dbfask.
When dBFAsk() is called a dialog box is displayed, showing a drop down list of the barcode types supported, and checkboxes allowing the Auto Check Digit and Extra parameters settings to be specified

The sample applications supplied with the dFont Developers Kit include source code illustrating the use of dBFAsk() calls.
More: