Frage

For example I have a scanner (for photos, documents etc). I've installed its driver (win7). How can I read usb input from this scanner using VC++ (I use vs2012). I've seen many related to usb articles but no one helped me. I've never developed usb software so need help in getting started. I've installed winddk as well. Can anybody show a sample of code (it's not necessary should be a scanner, but USB-mouse/keyboard as well)

Thanks a lot!

War es hilfreich?

Lösung

To read from usb port you must use some library for it, such as libusb. Also, try libusb-win32.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top