🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.language.objectpascal
Article #28

Capture Keyboard - Key Dump

#28
From: JoeAley2003
Date: Fri, 05 Nov 2004 04:31
20 lines
1545 bytes
Hi all...


 I need to write a simple software that writes to a Memo all the
characters typed on the keyboard.
 
 So, as it is system wide, and it must run on winnt platafform, i
cannot read the port using asm for example.

 How would you do that?  

 Keep a timer selecting the active window and than i don't know how
capture the key???

 Can you show the complete code or the algorithm with some functions
examples?

 I have searche on the net a lot and had no success... 

 Thanks
Technical Details
Message-ID: <79d8d5b3.0411042031.539bf464@posting.google.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 109d30,e402b0fc39255682,start
X-Google-Thread: 1091e5,e402b0fc39255682,start
X-Google-Thread: fd817,e402b0fc39255682,start
X-Google-Thread: 140b35,e402b0fc39255682,start
X-Google-Attributes: gid109d30,gid1091e5,gidfd817,gid140b35,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews1.google.com!not-for-mail
From: joealey2003@yahoo.com (JoeAley2003)
Newsgroups: borland.public.delphi.language.objectpascal,borland.public.delphi.winapi,alt.comp.lang.borland-delphi,borland.public.delphi.language.delphi.win32
Subject: Capture Keyboard - Key Dump
Date: 4 Nov 2004 20:31:08 -0800
Organization: http://groups.google.com
Lines: 20
Message-ID: <79d8d5b3.0411042031.539bf464@posting.google.com>
NNTP-Posting-Host: 200.167.253.9
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1099629068 3364 127.0.0.1 (5 Nov 2004 04:31:08 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 5 Nov 2004 04:31:08 +0000 (UTC)