Sorry this might be terse, I didn't want to get overly verbose and wanted to get straight to the point.
I'm having trouble finding anything on how to read from a barcode scanner in HID mode.
No, I do not want to use: Windows.Devices.PointOfService.BarcodeScanner - I need to be able to target Win7 (and higher of course).
No, I do not want to use: POS for .NET - tried it and failed at it, most likely needs special drivers in serial mode.
I've seen in the USB POS specification usage page 0x8C targets barcode scanners. Theoretically something should work from here when the scanner is in HID mode, but when using RegisterRawInputDevices I haven't been seen WM_INPUT raised (I was successfully reading keyboard data, so the supporting code works).
I'm looking to find or build a library for getting data from barcode readers with the following requirements:
[ol 1]
[li]Scanner must be in HID mode[/li]
[li]ANY scanner brand[/li]
[li]No special drivers should need to be installed[/li]
[li]Must work in WinForms[/li]
[/ol]
I've just about exhausted my searching powers and can't find anything. I've tested that BarcodeScanner class in the universal api, and it works great, but I need to target Win7 - not just 10. I've attempted to figure out how that class works, to no avail. I suspect it might use the USB HID specification - but I'm not sure how, and my tests in RegisterRawInputDevices haven't gotten any Usage ID in the 0x8C usage page to reveal any data.
Any thoughts on the direction I need to take, where to look, etc... would be greatly appreciated.
I'm having trouble finding anything on how to read from a barcode scanner in HID mode.
No, I do not want to use: Windows.Devices.PointOfService.BarcodeScanner - I need to be able to target Win7 (and higher of course).
No, I do not want to use: POS for .NET - tried it and failed at it, most likely needs special drivers in serial mode.
I've seen in the USB POS specification usage page 0x8C targets barcode scanners. Theoretically something should work from here when the scanner is in HID mode, but when using RegisterRawInputDevices I haven't been seen WM_INPUT raised (I was successfully reading keyboard data, so the supporting code works).
I'm looking to find or build a library for getting data from barcode readers with the following requirements:
[ol 1]
[li]Scanner must be in HID mode[/li]
[li]ANY scanner brand[/li]
[li]No special drivers should need to be installed[/li]
[li]Must work in WinForms[/li]
[/ol]
I've just about exhausted my searching powers and can't find anything. I've tested that BarcodeScanner class in the universal api, and it works great, but I need to target Win7 - not just 10. I've attempted to figure out how that class works, to no avail. I suspect it might use the USB HID specification - but I'm not sure how, and my tests in RegisterRawInputDevices haven't gotten any Usage ID in the 0x8C usage page to reveal any data.
Any thoughts on the direction I need to take, where to look, etc... would be greatly appreciated.