Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 Apr : Simulating Keystrokes from a service
| Subject: | Simulating Keystrokes from a service |
| Posted by: | "Larry Dew" (larryd..@gte.net) |
| Date: | Sat, 7 Apr 2007 21:46:26 |
I have a service that is monitoring a serial port for input from a
weighing scale. When the input is received I need to send the text to an
edit field within a browser. I have simulated the monitor running as an
exe and the edit field was within the exe, it all works great. I cannot
get the keybd_event function to send the text to an another application.
I know the service is receiving the input as I placed a "BEEP" inside
the function that calls the PostKey32Ex function (that I found online)
and again inside the PostKey32Ex function itself.
Ideas would be greatly appreciated.
--
Larry Dew
RD Software Inc.
128 Schreiber Drive
Haslet TX, 76052
(817) 439-0366