A hardware barcode reader will give you the contents of the barcode, so there's nothing barcode specific you need to do in your program. Just accept standard input as if it came from a keyboard.
deceptikon
Challenge Accepted
3,456 posts since Jan 2012
Reputation Points: 822
Solved Threads: 473
Skill Endorsements: 57
Most if not all bar code readers will come with a specific SDK, or instructions, to interface to their reader
tinstaafl
Nearly a Posting Virtuoso
1,333 posts since Jun 2010
Reputation Points: 355
Solved Threads: 234
Skill Endorsements: 14