View Single Post
Old Jul 17th, 2005, 1:27 AM   #2
kurifu
Expert Programmer
 
kurifu's Avatar
 
Join Date: Jul 2004
Location: Halifax, Nova Scotia (Canada)
Posts: 784
Rep Power: 5 kurifu is on a distinguished road
Send a message via ICQ to kurifu Send a message via MSN to kurifu
People have done this, though not myself... as there are many utilities obviously which do exactly this. Typically this is support by the BIOS and you are going to need to make some calls to the BIOS to get the information, Windows does not have a convenient little library with this data I believe (though check into it, I can be wrong).

One of the tricky parts about this though is that every system does have a differetn way of getting that data, especially when you start to work with laptops. Some IBM laptops actually store this information in extra CPU registers and you need to get to those registers to actually get a hold of the data.

Probably the easiest way to get to this information would be to explore using and reading data from your computers ACPI system, this is the most commonly used system now-a-days for power and system management.
__________________
Clifford Matthew Roche <geek@cliffordroche.com>
Web Hosting: http://www.crd-hosting.com
Consulting: http://www.crdev-consulting.com
kurifu is offline   Reply With Quote