How to read barcode scanner input in background process?

2.5k Views Asked by At

I am using a barcode scanner connected to Windows PC. It is configured to work as USB HID device, and it is the most reliable mode for this scanner to work. I have developed some software to register input from it. The thing is that I want to have some program running in background and intercepting data from barcode scanner and sending the obtained data over network. I have checked some similar solutions, but seems like that people mostly go with having a background window.

Reading USB HID barcode scanner input without knowing VID&PID - here is a similar question, but the answer describes a swing KeyListener child for Java GUI form https://stackoverflow.com/a/14106511 - also points to similar idea.

It is an app for internal usage, so I may even manually specify VID and PID of device.

Is there any way to read and intercept input from barcode scanner without GUI window?

0

There are 0 best solutions below