- displays a pop-up dialog requesting barcode information.
int WINAPI BarAsk( LPSTR data, LPINT bEnable)
where bEnable controls whether the dBarcode dialog enables its data control which allows the barcode data to be displayed and modified, and data may be barcode data displayed in the dialog.
If bEnable is non-zero the data contained in the data string is displayed in the dBarcode dialog box, and any changes made to the data in the dialog box are copied to the data string when the OK button is pushed.

All other properties that may be set in the dialog box are maintained in memory once the OK button is pushed. For BarAskEx these properties are maintained until the calling program closes, while for BarAsk the properties are also stored and become the defaults for future runs of the program.
All the writeable properties described for the structure are accessible through the dBarcode dialog.
For Visual Basic the declaration is
Private Declare Function BarAskEx Lib "Dlsbar34" (ByVal x As String, ByRef i As Long) As Long
More: