471,605 Members | 1,382 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,605 software developers and data experts.

How to develop a HOOK application?

How to hook system global mouse and keyboard, develop in C#?
--
Thanks,
LiuFeng
MSN Messenger: bl*****@hotmail.com

Feb 13 '06 #1
2 1905
I am not sure you can.. I think I remember reading that somewhere before.
It has to do with C# not having being able to create an actual "DLL" that
uses C func decl. and that is what you need for global hooks I believe.

Will be neat to see what others have to say though.. maybe there is a way
that someone found?

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Charles Cox
VC/VB/C# Developer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

"Liu Feng" <bl*******@yeah.net> wrote in message
news:OC**************@TK2MSFTNGP09.phx.gbl...
How to hook system global mouse and keyboard, develop in C#?
--
Thanks,
LiuFeng
MSN Messenger: bl*****@hotmail.com

Feb 13 '06 #2
Here are a few good articles about this:

http://www.codeproject.com/csharp/globalsystemhook.asp
http://www.codeproject.com/system/hooksys.asp
http://www.codeguru.com/Cpp/W-P/syst...php/c5667#more
http://www.codeguru.com/cpp/com-tech...e.php/c2631__1

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
We got a sick zebra a hat,
you ultimate tuna.
"Liu Feng" <bl*******@yeah.net> wrote in message
news:OC**************@TK2MSFTNGP09.phx.gbl...
How to hook system global mouse and keyboard, develop in C#?
--
Thanks,
LiuFeng
MSN Messenger: bl*****@hotmail.com

Feb 13 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by ayiiq180 | last post: by
5 posts views Thread by murlbrown | last post: by
1 post views Thread by Michael Roper | last post: by
4 posts views Thread by msnews.micorsoft.com | last post: by
reply views Thread by murlbrown | last post: by
7 posts views Thread by jpierson | last post: by
2 posts views Thread by Lunchtimemama | last post: by
reply views Thread by zeng.hui.stephen | last post: by
22 posts views Thread by schneider | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by MichaelMortimer | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.