I have a huge program that I've constructed, and now I just need to add a form that detects system wide keystrokes. I saw a previous EE article that talked about journal hooks and wh_keyboard hook. Whats the difference? It seems like the journal hook does not require an outside dll? If so that would be great.
Heres what I need the code to do:
1) detect all keystrokes
2) determine the window that is receiving the keystroke (this should be simple)
3) be as simple as possible! I've seen source code that does all this crazy stuff...I just want it to be plain and simple so I could understand whats going on. For example theres code that retrieves the strokes in multiple ways, uses different languages (i dont know what thats about), etc etc...I just want it to log the keystroke in the simplest most efficient way.
4) It should be compatible with win xp for sure. And preferably also with win 98 and win me.
5) Im using delphi 7 if the version makes any difference.
If I could get this to actually run and things make sense to me, and its what Im looking for (not something Im just settling for), I will double the points.