🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #6970

Re: Send Characters to other app's "EditBox"

#6970
From: Bob Gonder
Date: Tue, 29 Mar 2005 17:35
23 lines
1902 bytes
Liem Tjien Sian wrote:

>"A software wedge accomplishes the same end result as a hardware wedge. 

There was also a serial port wedge listed.
That would be the eaisiest solution.
Or, you could try contacting the companies that have already figured
out how to do it in software (I'm thinking some global hooking of some
sort, via dll).

>Anyone knows how to reroute COM port data to keyboard buffer?

You might have a look at   WriteConsoleInput()
But I'm not sure how that would work with multiple processes.

You might try searching for....
keyboard hook
global keyboard hook
hooking the keyboard
keyboard logging

As another thought, you might try putting the data on the clipboard,
and giving the console window a Paste command.
Technical Details
Message-ID: <bi3j41tkkptqbev3g35sbbm9pg6nfp4c43@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newshub.sdsu.edu!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4247936e$1@newsgroups.borland.com> <51dg41p28liocl35h5llb2c8p5oqm4g86r@4ax.com> <4248be73$1@newsgroups.borland.com> <qrgh4194apv2g46na27qj1rna752rglau2@4ax.com> <424929ab$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,5e43dd28c66616fe
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Send Characters to other app's "EditBox"
Date: Tue, 29 Mar 2005 09:35:39 -0800
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <bi3j41tkkptqbev3g35sbbm9pg6nfp4c43@4ax.com>
References: <4247936e$1@newsgroups.borland.com> <51dg41p28liocl35h5llb2c8p5oqm4g86r@4ax.com> <4248be73$1@newsgroups.borland.com> <qrgh4194apv2g46na27qj1rna752rglau2@4ax.com> <424929ab$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.77.147.125
X-Trace: newsgroups.borland.com 1112117737 67.77.147.125 (29 Mar 2005 09:35:37 -0800)
Lines: 25
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newshub.sdsu.edu!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail