如何使用Global Hook [英] How to use Global Hook
本文介绍了如何使用Global Hook的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试使用全局挂钩,当我键入using gma.System.Windows;
时,它无法识别gma?我该怎么办?
I tried using global hook, and when I typed in using gma.System.Windows;
it did not recognize gma? What do I need to do?
推荐答案
您似乎正在使用此CodeProject文章.您需要参考该文章中的程序集/源代码.另外,您需要键入Gma.
而不是gma.
- C#区分大小写.
It looks like you may be using code from this CodeProject article. You need to reference the assembly / source code from that article. Also, you need to type Gma.
rather than gma.
-- C# is case sensitive.
这篇关于如何使用Global Hook的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文