Einzelnen Beitrag anzeigen

Benutzerbild von DGL-luke
DGL-luke

Registriert seit: 1. Apr 2005
Ort: Bad Tölz
4.149 Beiträge
 
Delphi 2006 Professional
 
#2

Re: Keyboard Input abfangen

  Alt 27. Jun 2005, 17:09
Zitat von DarkLord0:
Hallo,
(weil eine DLL verwendet werden muss, die mit dem Hauptprogramm kommuniziert) offen
meinst du damit das hier:

Zitat:
lpfn
[in] Pointer to the hook procedure. If the dwThreadId parameter is zero or specifies the identifier of a thread created by a different process, the lpfn parameter must point to a hook procedure in a dynamic-link library (DLL). Otherwise, lpfn can point to a hook procedure in the code associated with the current process.
dann kann ich dich beruhingen: es wird unter WinNT/XP nicht einmal MIT Dll feunktionieren.

Du musst einen der LL hooks nehmen. such mal nach WH_KEYBOARD_LL, da solltest du auf einen thread von mir und einen beitrag von hagen(? is schon länger her...) stoßen, in dem das ganze ausführlich dargelgt ist. dann gehts auch OHNE DLL.
Lukas Erlacher
Suche Grafiktablett. Spenden/Gebrauchtangebote willkommen.
Gotteskrieger gesucht!
For it is the chief characteristic of the religion of science that it works. - Isaac Asimov, Foundation I, Buch 1
  Mit Zitat antworten Zitat