|
Hey all,
I try to find some code that will log to some txt file all the keystrokes in a smartphone.
I have read many blogs about it, but I'm still confused.
There are two blogs that i tried to understand
1.http://mikeunderhill.blogspot.com/2005/09/overriding-forms-wndproc-in-net-cf-20.html
2. http://blog.opennetcf.com/ayakhnin/CategoryView,category,Compact%20Framework.aspx
in the 1st there appears the error that SIPINFO is unrcognized.
i have tried to declare it like written here http://msdn.microsoft.com/en-us/library/ms932860.aspx
but it didn't help
I tried the 2nd, and here i got the error:
The name 'HookEvent' does not exist in the current context
I'm not sure what should i write because i don't fully understand this form of writing hook.HookEvent += new HookKeys.HookEventHandler(HookEvent);
is HookEvent the procedure that logs the keystroke?
If somebody can shed some light over Hooking in WM in general or even add links to relevant sites woth the code i'm looking for - I will be very thankful
|