Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CPU utilization for a particular process
#4
what am i doing wrong here?
i keep getting "Error (RT) in CPU_Notice: failed"
Code:
Copy      Help
int hwnd=win("Crystal Reports")
int a b
rep
    a=(GetProcessCpuUsage(hwnd))
    5
    b=(GetProcessCpuUsage(hwnd))
    if a+b=0
        mes("Crystal Reports is done." "CPU Notice" "i")
        end
thanks


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)