Connecting Tech Pros Worldwide Help | Site Map

hooking/subclassing keyboard Windows Mobile

Newbie
 
Join Date: Sep 2009
Posts: 1
#1: Sep 1 '09
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
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,150
#2: Sep 2 '09

re: hooking/subclassing keyboard Windows Mobile


Moving to mobile devlopement forum.
MODERATOR
Reply