First, figure out if the device easily gives you the barcoded information.
Open up a blank notepad document. Scan something. Did you get the barcode?
If so, in Delphi, all you have to do is put the “focus” in the edit box. Edit1.Setfocus. The scan a barcode. To convert to integer I would i := StrToIntDef(Edit1.text,0);
Need a simple app or anything let me know. I have done several for inventory management.