Exception:ID 为 15472 的进程当前未运行。

报错信息 1
ArgumentException: ID 为 15472 的进程当前未运行。
--Message: ID 为 15472 的进程当前未运行。
StackTrace:
   在 System.Diagnostics.Process.GetProcessById(Int32 processId, String machineName)
   在 DynamicClass.MyApplication.GetWindowProcessName(IntPtr hWnd)
   在 DynamicClass.MyApplication.EventCallback(IntPtr hWinEventHook, UInt32 iEvent, IntPtr hWnd, Int32 idObject, Int32 idChild, UInt32 dwEventThread, UInt32 dwmsEventTime)

版本:1.43.65 2025-04-01 13:45 Microsoft Windows NT 6.1.7601 Service Pack 1