I was wondering is there any way to tell the CPU & Sytem Temperature of your pc using API?? i wuld love 2 kno..
Oh well if you can help me please do it wont take long:) thanks..
RearChud37
Printable View
I was wondering is there any way to tell the CPU & Sytem Temperature of your pc using API?? i wuld love 2 kno..
Oh well if you can help me please do it wont take long:) thanks..
RearChud37
Unfortunately, this cannot be done with standard API functions
Unfortunately, this cannot be done with standard API functions
Unfortunately, this cannot be done with standard API functions
Did you get that?
Short of installing a special device that would monitor the temperature of the CPU and send it back to your computer, that would be rather impossible seeing as the CPU doesn't have a thermometer (be it mercury based ( :P ) or electronical) built in. Not to my knowledge at least.
You could build a device like that if you know how electronics works, but you could cause irrepairable damage and void your warranty if you don't know what you're doing.
Most Intel Pentium III and all Intel Pentium 4 chips that I know of come with a built in heat sensor. I don't know if/what are the API calls to read PC BIOS data, but I'm sure some must exist. If you can figure out how to extract information from a PC's BIOS, you should be able to pull out the current CPU temperature.
It must be possible to do this, maybe not via VB, but certainly programs like ASUS probe and RainMaker do it. Anyone have any thoughts? I'm actually intrigued as to how this could be done.
you could probably take a year writing an ASM dll to do it. good luck~
Ok whats goin on here in my bios there is a thing telling me CPU temperature & sytem temp and they are constantly moving up and down. when the computer gets to a set temp, it sets off the alarm which is really loud & annoying, [u cant turn it off :), ok] so i wanted 2 make a program that would warn me when it gets too hot...
This is my reason i hope u can answer now! :) sorry...
RearChud37
Actually, I did a bit of poking around on the web and it appears that you can obtain System specific information by utilizing the WMI scripting object. http://www.mvps.org/vbnet/index.html...ibaseboard.htm has an article on how to do this, and there are several MSDN articles on how to do it as well.
I haven't tried any of the same on the above website, but it makes reasonable sense that they'd work as advertised.
- Art
I stand corrected. :P If that's the case, then it's just a matter of finding where the heat is stored in memory and under what format, and there you go.Quote:
Originally posted by hax0r
Most Intel Pentium III and all Intel Pentium 4 chips that I know of come with a built in heat sensor.
This cannot be done with the standard API functions.
I have written, however, a similar program in VB for my old motherboard (Asus P5A), just exploiting the DLLs that came with my motherboard's CDROM. (I also retrieved fan speeds, voltages, and motherboard temperature -- all with polling)
The only reason I did it, was because the monitoring program that came with my m/b was buggy. If this is not the case with you, then I don't see why wasting your time doing something like that ;) ;) ;)
Some other thoughts :
> These values should be stored into some registers. Finding the correct addresses and using copymem wouldn't do the job ?
I stand corrected. :P If that's the case, then it's just a matter of finding where the heat is stored in memory and under what format, and there you go.
--->
OK well if all it requires is searching the memory then i suppose i culd do that. Does anyone know what the VB equivilent of QBASIC's PEEK() & POKE() so i can do this???
Then i guess thats all i need 2 know... ok thanks again..:)
RearChud37