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

报错信息 1
ArgumentException: ID 为 20328 的进程当前未运行。
--Message: ID 为 20328 的进程当前未运行。
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.44.23 2025-11-30 17:03 Microsoft Windows NT 10.0.26100.0