Diese Seite mit anderen teilen ...

Informationen zum Thema:
WinDev Forum
Beiträge im Thema:
Erster Beitrag:
vor 4 Jahren, 11 Monaten
Letzter Beitrag:
vor 4 Jahren, 11 Monaten
Beteiligte Autoren:
Alexandre Leclerc, Arie

Fill keyboard buffer

Startbeitrag von Arie am 21.08.2013 09:12

My customer has existing software (not mine and no source) which handles keyboard-readers now.
Now they want to use RFID-card too.

The idea is to write a little utility, running in the background, which read the rfid-tag and puts the value into the keyboard buffer.

I read the help about SendKey, but am not sure if this is useable. It looks to me that SendKey sends the keys to a window. I would rather fill the windows keyboard buffer. Can Windev do this?


Hi Arie,

Usually the drivers that come with the RFID readers are doing just that for you (filling the keyboard buffer) because they are actually acting as a keyboard.

My side question would be: why do you need to read yourself directly from the RFID device and fill the keyboard buffer when the driver of the RFID device is certainly already doing that? Using the driver (if even necessary - because sometimes it's already working like a keyboard as-is after installation of the drivers) would do the job directly. (I might miss an important piece of the puzzle.)

Best regards,
Alexandre Leclerc

PS: The Windows API command you need to fill the keyboard buffer is SendInput (User32.dll). http://msdn.microsoft.com/en-us/library/windows/desktop/ms646310(v=vs.85).aspx

von Alexandre Leclerc - am 21.08.2013 12:31
SendInput is the one I need. Maybe I'm just going the C# route.
This particular RFID reader does not have a driver. It's connected to tcp/ip and must be handeld by http-requests.

von Arie - am 22.08.2013 07:40
Hi Arie,

Arie Mars
This particular RFID reader does not have a driver. It's connected to tcp/ip and must be handeld by http-requests.

Ha! Here is the missing piece of puzzle!

Best regards,
Alexandre Leclerc

von Alexandre Leclerc - am 22.08.2013 12:43
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.