Article View: borland.public.cppbuilder.nativeapi
Article #12626Re: Simulating that a key has been pressed
From: Remy Lebeau (TeamB)
Date: Sun, 23 Nov 2003 21:58
Date: Sun, 23 Nov 2003 21:58
16 lines
1775 bytes
1775 bytes
"Feico" <feicorem0veth1s@gmx.net> wrote in message news:sui1sv89b9esc6nmg9m5205m3s4htt30k3@4ax.com... > Can that be done? Sure, I don't see why not. Just write a new .VXD file and replace the existing one, or register your own to be the main driver. Either way, the OS itself would load the driver at bootup and rely on it for communications with the keyboard hardware, and then use keybd_event() to send the hardware keystrokes and "injected" keystrokes back to the OS. Of course, such a topic is far beyond the scope of these groups, mainly because Borland doesn't support writing device drivers. You need Microsoft's DDK for that. Gambit
Technical Details
Message-ID:
<3fc12ca4$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!skynet.be!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<2llvrv8g0ethuqm7b21760f21944k4qppp@4ax.com> <3fbff23d$1@newsgroups.borland.com> <rpm0sv46b9pkgk9tsmjgs21htn6gqnm0jj@4ax.com> <3fc06850$1@newsgroups.borland.com> <sui1sv89b9esc6nmg9m5205m3s4htt30k3@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,c26082be79ed8ef8 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-11-23 14:05:57 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <2llvrv8g0ethuqm7b21760f21944k4qppp@4ax.com> <3fbff23d$1@newsgroups.borland.com> <rpm0sv46b9pkgk9tsmjgs21htn6gqnm0jj@4ax.com> <3fc06850$1@newsgroups.borland.com> <sui1sv89b9esc6nmg9m5205m3s4htt30k3@4ax.com> Subject: Re: Simulating that a key has been pressed Date: Sun, 23 Nov 2003 13:58:42 -0800 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 67.22.137.149 Message-ID: <3fc12ca4$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1069624484 67.22.137.149 (23 Nov 2003 13:54:44 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!skynet.be!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail