本文介绍了如何在C#中收听Win32事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在寻找一个可以在不同进程上触发事件的示例。
现在,我知道在C ++中我可以使用Win32的CreateEvent,这很简单。
但有没有办法在C#中听这个事件?
I am looking for an example in which I can fire an event on a different process.
Now, I know in C++ I can use Win32's CreateEvent, that's fairly simple.
But is there a way to listen to that event in C#?
推荐答案
这篇关于如何在C#中收听Win32事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!