windows C++ 如何向另一个进程发送信号?(包括所有SIGXXX信号)
巴扎黑
巴扎黑 2017-04-17 15:05:09
0
2
738

请问 Windows 下的 C++ 如何像 linux 那样调用 kill() 函数向另一个进程发送SIGXXX信号?

巴扎黑
巴扎黑

reply all(2)
PHPzhong

If the other party has a window, you can use SendMessage or PostMessage
If there is no window, you can use the kernel synchronization variable Event. The receiver uses WaitForSingleObject to wait, and the sender uses SetEvent to believe

小葫芦

Call the API function SendMessage or PostMessage

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!