Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
General
»
capture keys
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Iterate Resourcestrings a...
by
LeP
[
Today
at 09:39:21 am]
How to run an external co...
by
marcov
[
Today
at 09:06:51 am]
Synapse and ssl_openssl
by
CMELIGM
[
Today
at 08:21:39 am]
Published sets in FPC are...
by
Khrys
[
Today
at 06:54:13 am]
What is StateIndex for of...
by
dsiders
[
Today
at 06:44:20 am]
A diary project with SQLi...
by
cdbc
[
Today
at 06:12:05 am]
What is a status of fpGUI...
by
Graeme
[February 18, 2026, 11:48:18 pm]
'Rounding' to (say) 5 DP
by
J-G
[February 18, 2026, 06:59:31 pm]
"Open in Explorer..."
by
imekon
[February 18, 2026, 06:39:46 pm]
Asap Player
by
Gigatron
[February 18, 2026, 06:06:14 pm]
DCPcrypt v2.0.6 — Cryptog...
by
marcov
[February 18, 2026, 03:53:20 pm]
Is it possible to create ...
by
LeP
[February 18, 2026, 03:11:19 pm]
Duplicated icon in the Wi...
by
w click
[February 18, 2026, 02:43:42 pm]
BAScript - Simple scripti...
by
gidesa
[February 18, 2026, 12:10:21 pm]
[SOLVED] Form has no Task...
by
Hartmut
[February 18, 2026, 11:52:24 am]
StrMath.pas a String Numb...
by
LV
[February 18, 2026, 11:48:43 am]
lazarus project
by
Zvoni
[February 18, 2026, 10:14:51 am]
Debian removes FPC/Lazaru...
by
MarkMLl
[February 18, 2026, 09:13:31 am]
Anyone else getting a tro...
by
RaketeMike
[February 18, 2026, 09:09:28 am]
Frustrating Error When us...
by
TYDQ
[February 18, 2026, 08:24:52 am]
[SOLVED] Statically linki...
by
Khrys
[February 18, 2026, 07:37:24 am]
Status of FPC 3.4.0 or FP...
by
PascalDragon
[February 17, 2026, 09:25:01 pm]
MVP made easier.
by
cdbc
[February 17, 2026, 09:16:07 pm]
[ANN] fpGUI Toolkit v2.0....
by
PascalDragon
[February 17, 2026, 08:49:17 pm]
[SOLVED] Lazarus recompil...
by
creaothceann
[February 17, 2026, 07:37:12 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: capture keys (Read 6292 times)
Emerson
New Member
Posts: 37
capture keys
«
on:
December 02, 2021, 01:12:37 am »
Hi! I need to create an application that captures keystrokes, even if minimized. I want to create a control for calls where no matter what app the user is using, my control can see when the next person was called. Can anyone help me?
Logged
Gald
Full Member
Posts: 107
Re: capture keys
«
Reply #1 on:
December 02, 2021, 04:11:37 am »
What you are trying to do is a kind of Keylogger and will be recognized by the Antivirus.
You can build a DLL for that, for using the hookproc.
I don't even know about it on another system than Windows.
More info:
https://docs.microsoft.com/en-us/windows/win32/winmsg/using-hooks
https://stackoverflow.com/questions/5196596/hook-keyboard-from-injected-dll-using-keyboardproc-setwindowshookex
Logged
Lazarus 2.0.12 r64642 FPC 3.2.0 x86_64-win64-win32/win64/Manjaro KDE 21
AMD Ryzen 3 1300X Quad-Core Processor 3.50 GHz / 8,00 GB RAM / GTX 1500 TI / 2TB M.2 NVMe
Emerson
New Member
Posts: 37
Re: capture keys
«
Reply #2 on:
December 02, 2021, 12:07:02 pm »
That's right, I've used this DLL once on Windows, but now I need to use this feature on Linux and I haven't found anything about it. The case of this DLL works only on Windows.
Logged
Emerson
New Member
Posts: 37
Re: capture keys
«
Reply #3 on:
December 06, 2021, 01:28:54 pm »
Does anyone else have any idea how to help me?
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
General
»
capture keys
TinyPortal
© 2005-2018