Author Topic: help me understand how HID works  (Read 1202 times)


  • Newbie
  • *
  • Posts: 8
    • View Profile
help me understand how HID works
« on: June 04, 2012, 10:28:47 am »
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

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1008
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Re: help me understand how HID works
« Reply #1 on: August 15, 2012, 11:21:19 am »

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.