Wim Sterns wrote: > I have a pc with a barcode reader and two keyboards > attached to it. > The barcode reader emulates also a keyboard (keyboard > wedge) > > How can I see if a keystroke was sent by one of the > keyboards (and which) or by the barcode reader ?
No. That's the point of having the barcode scanner pretend to be a keyboard -- so you *don't* have to write additional code to read barcodes. As far as any user-mode program is concerned, there is just one keyboard attached to the computer. Even the kernel might not know the difference. As long as the hardware sends the same signals as a keyboard would send, it should pass for being the same device. So, what are you trying to do? -- Rob _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

