hooking/subclassing keyboard Windows Mobile

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • adam2009
    New Member
    • Sep 2009
    • 1

    hooking/subclassing keyboard Windows Mobile

    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.b logspot.com/2005/09/overriding-forms-wndproc-in-net-cf-20.html
    2. http://blog.opennetcf. com/ayakhnin/CategoryView,ca tegory,Compact% 20Framework.asp x

    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.HookEv entHandler(Hook Event);

    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
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    Moving to mobile devlopement forum.
    MODERATOR

    Comment

    Working...