Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CPU utilization for a particular process
#5
Probably the window is closed. Use IsWindow to test whether hwnd is still valid. Or use err.

This code shows error description:

a=GetProcessCpuUsage(hwnd)
err out _s.dllerror


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)