1. 首页
  2. 编程语言
  3. Delphi
  4. delphi判断程序是否无响应

delphi判断程序是否无响应

上传者: 2023-05-27 21:07:29上传 TXT文件 2.49KB 热度 15次
function IsAppRespondig9X(dwThreadId: DWORD): Boolean; type TIsHungThread = function(dwThreadId: DWORD): BOOL; stdcall; var hUser32: THandle; IsHungThread: TIsHungThread; begin Result := True; hUser32 := GetModuleHandle('user32.dll'); if (hUser32 > 0) then begin @IsHungThread := GetProcAddress(hUser32, 'IsHungThre
用户评论