.NET VS 2003 CF v1 keyboard hook

G

GStevens

Hello there,

I googled about the implementation of keyboard hooking in CF v1
unfortunately I was not able to find one. Kindly point me to the right
direction how to implement it.
What i found was the codes of Alex Yakhnin but his implementations is
for CF v2. Is there any way that I can implement this too using CF1?
You help is very much appreciated.
Thank you.

-GS
 
G

Guest

Only by using some helper native DLL that would do keybard hooking and
redirect the messages to the managed MessageWindow.
 
G

GStevens

Alex;

Thank you for your reply. Im not a guru like you so kindly tell me that
in plain English. What I mean is, what are those native DLLs that I
need to use to make it work? Is it other than SetWindowsHookExW? Kindly
fill the void for me pls.
I also read the codes of Prathamesh Kulkarni using eVC++ but the
question is how can I implement it into CF v1.
Any help will be appreciated. Thank you in advance.

-GS
 
G

Guest

Alex is saying you can't do it under CF 1.0. Under 1.0 you must write your
own native DLL that does the hook and then forwards hook calls to your
managed app through some mechanism like a MessageWindow.
 
G

GStevens

thanks guys for your help.

Alex is saying you can't do it under CF 1.0. Under 1.0 you must write your
own native DLL that does the hook and then forwards hook calls to your
managed app through some mechanism like a MessageWindow.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top