• Welcome to Forum.Deepsoftware.Com. Please login or sign up.
 

help me understand how HID works

Started by dinko, June 04, 2012, 07:28:47 am

Previous topic - Next topic

dinko

I have a barcode scanner works as HID device. Everytime a barcode scans it goes directly to windows keyboard, for example if I open notepad I can see the barcode typed there.

As far as I know programmatically is it possible to to read HID data from your HID devices.

But what happens if the user is already on a form with a text edit control? The scanned code will go inside the text box.

Can you block incoming text and make a background-only processing?

Can you explain the theory please and give me some help?

Roman Novgorodov

Hello

Your scanner is visible as ordinary Keyboard device.
You need process it as key pressing events.
TnrHid will not help here.

Roman Novgorodov
DeepSoftware llc
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.