问题
I'm developing a software which requires the access of barcode.
I'm using the Motorola SDK, using C#.
I have set the scanner as IBM-HAND-HELD
instead of HID-keyboard-Emulation.
But the problem is if I scan the barcode the 'BarcodeEvent
' never fires. Even their source code wont work. But the compiled version of the source code (exe) works fine.
Any idea would help me a lot. I'm using Visual Studio 2008
回答1:
Change the Mode to "USB OPOS Handheld". Then only the events will fire as expected.
来源:https://stackoverflow.com/questions/8807297/motorola-barcode-scanner-sdk-events-c-sharp