C# Global Hook Samples?

  • Thread starter Thread starter sharp
  • Start date Start date
S

sharp

I've done enough reading through the groups to know that a Global
Keyboard hook is not possible via C# (.NET) itself.

From what I have seen proposed is that you need to write a global hook
in a C++ dll and PInvoke that dll.

Well, I'm not a C++ dev but need to get a global hook from C#. Are
there any samples anywhere on how to write the C++ hook and use it
from C#?

Regards
 

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

Similar Threads


Back
Top