Recent

Author Topic: capture keys  (Read 3594 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?

Gald

  • Jr. Member
  • **
  • Posts: 78
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
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.

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?

 

TinyPortal © 2005-2018