![]() |
AW: Keyboard Hook
Zitat:
The kind of hook which is used here has to be inside an external DLL. |
AW: Keyboard Hook
Liste der Anhänge anzeigen (Anzahl: 1)
When I use WH_JOURNALRECORD on my computer works without hooking DLL.
|
AW: Keyboard Hook
I really can not find anyone who would put me here to supplement my code to make it work?
Please Please Please |
AW: Keyboard Hook
Schon ein extrem alter Thread...
Aber hat jemand eine Lösung für mein Problem? Wenn ich den Code anwende kommt bei mir nur: [dcc32 Fehler] Unit1.pas(198): E2010 Inkompatible Typen: 'NativeInt' und 'Integer' Zeile: MainHook := SetWindowsHookEx(WH_JOURNALRECORD, KeyboardHook, hInstance, 0); |
AW: Keyboard Hook
Welcher Datentyp hat KeyboardHook und welcher Datentyp wird als zweiter Parameter von SetWindowsHookEx erwartet?
|
AW: Keyboard Hook
64 Bit?
Bei 32 Bit sind diese Typen eigentlich identisch. (NativeInt ist da ein Alias) |
AW: Keyboard Hook
Liste der Anhänge anzeigen (Anzahl: 1)
MainHook :=
SetWindowsHookEx(WH_KEYBOARD_LL, @KeyboardHook,0,0); WH_JOURNALRECORD geht bei mir nicht (WIN8.1, XE7) |
AW: Keyboard Hook
Du hast eine "falsche" Deklaration am Wickel.
Deine Parameter für die Windows-API sind korrekt, siehe ![]() Du hast aber nicht die Windows-API erwischt, sondern "irgendwas" total Anderes aus einer anderen Unit, also aus KeyboardScreen.pas und nicht Windows.pas. |
Alle Zeitangaben in WEZ +1. Es ist jetzt 21:54 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz