开发者

Is there a way in windows to know if a process is not responding?

Is there a way to know when a process is hu开发者_JAVA技巧ng? is there a win32 call for this?


You send it a WM_NULL with SendMessageTimeout(). If that times out after something like a second or three, it's not responding (though it might eventually, of course).


Just for other people passing by: It might be easier to use IsHungAppWindow.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜