Jump to content

DLL call for CPU load


Hooch
 Share

Recommended Posts

Has anyone already done the research for a DLLcall to get current cpu load, ala the window task manager?

I want to add a little bell/whistle to my interface but I have yet to learn how to figure out the calls myself.

If someone has this handy then great, if not then I will see what I can figure out. A forum search and google search didn't give me anything immediately usefull.

Link to comment
Share on other sites

I found this earlier

run("taskmgr.exe","",@SW_HIDE)
Sleep(1000)
while 1
$rc = StatusBarGetText("Windows Task Manager","",2)
Tooltip($rc,0,0)
sleep(10)
wend


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...