Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
General
»
capture keys
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
MOVED: bug on online pack...
by
trev
[
Today
at 01:07:29 am]
MOVED: VirtualStringTree....
by
trev
[
Today
at 01:01:21 am]
VirtualStringTree...
by
Espectr0
[
Today
at 12:28:34 am]
Dark mode class...
by
Espectr0
[May 18, 2022, 11:57:02 pm]
Online Package Manager
by
HeavyUser
[May 18, 2022, 11:30:39 pm]
LAMW - "This app has a bu...
by
Agmcz
[May 18, 2022, 10:32:34 pm]
IfThen function
by
BobDog
[May 18, 2022, 10:20:30 pm]
[SOLVED] How to get rid o...
by
Nevada Smith
[May 18, 2022, 08:48:20 pm]
msgrcv only succeeds if m...
by
TCH
[May 18, 2022, 07:26:35 pm]
What is the best free pot...
by
Alienizering
[May 18, 2022, 06:53:59 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: capture keys (Read 5365 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
Jr. Member
Posts: 85
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