开发者

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

开发者 https://www.devze.com 2022-12-19 19:43 出处:网络
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,

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

精彩评论

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

关注公众号