Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 04-21-2010, 06:39 AM
Hitman Hitman is offline
Senior Member
 
Join Date: Oct 2006
Location: A nice place on earth
Posts: 309
Lightbulb Get System and CPU temperature

Hi guys,
I would like to get system and CPU temperature from my Delphi app,
any ideas about how to do this?
System will be ordinary PC with windows XP in it.

Thanks in advance
__________________
ERRARE HUMANUM EST
Reply With Quote
  #2  
Old 04-21-2010, 07:53 AM
Norrit Norrit is offline
Moderator
 
Join Date: Aug 2001
Location: Landgraaf
Posts: 7,307
Default

Should be by using WMI, this link comes with a component (?), didn't look at it though:
http://www.ciuly.com/index.php/delph...peratures.html
Reply With Quote
  #3  
Old 04-21-2010, 02:53 PM
Hitman Hitman is offline
Senior Member
 
Join Date: Oct 2006
Location: A nice place on earth
Posts: 309
Default

Quote:
Originally Posted by Norrit View Post
Should be by using WMI, this link comes with a component (?), didn't look at it though:
http://www.ciuly.com/index.php/delph...peratures.html
Thanks mate
It doesn't actually matter, I can use component also if needed.
I will check it out.

Cheers
__________________
ERRARE HUMANUM EST
Reply With Quote
  #4  
Old 04-21-2010, 03:32 PM
Hitman Hitman is offline
Senior Member
 
Join Date: Oct 2006
Location: A nice place on earth
Posts: 309
Default

Quote:
Originally Posted by Norrit View Post
Should be by using WMI, this link comes with a component (?), didn't look at it though:
http://www.ciuly.com/index.php/delph...peratures.html
Yeah,
I have checked and looks like there is unfortunately no help.
Too old link and guide.
There aren't any kind of WMI available for this.

Have to try to find some ways.

Cheers
__________________
ERRARE HUMANUM EST
Reply With Quote
  #5  
Old 04-21-2010, 03:51 PM
GeoWink GeoWink is offline
Senior Member
 
Join Date: Jan 2001
Posts: 882
Default

I Googled "get system and CPU temperature delphi" and got a bunch of possibilities. Did you try this?

George
Reply With Quote
  #6  
Old 04-21-2010, 04:17 PM
Hitman Hitman is offline
Senior Member
 
Join Date: Oct 2006
Location: A nice place on earth
Posts: 309
Default

Quote:
Originally Posted by GeoWink View Post
I Googled "get system and CPU temperature delphi" and got a bunch of possibilities. Did you try this?

George
Yes, I did and got too many useless links.
__________________
ERRARE HUMANUM EST
Reply With Quote
  #7  
Old 04-23-2010, 01:41 PM
MrBaseball34 MrBaseball34 is offline
Senior Member
 
Join Date: Jan 2001
Posts: 7,260
Default

There is no WMI code that will work on all MBs because not all of them support WMI calls.
Also, be aware that there is no standard for communicating this type of information, believe it or not. Each vendor has their own way of doing that through the use of their own libraries. M$ is trying to get a standard started using WMI but not all have caught up and many don't even want to do it, it is up to them to support it.

I've found hundreds of code snippets and none of them work on my Dell MB.
__________________
MrBaseball34

Hook 'em Horns
2005 College Football National Champions
2005 College Baseball National Champions
Reply With Quote
  #8  
Old 04-23-2010, 03:18 PM
Hitman Hitman is offline
Senior Member
 
Join Date: Oct 2006
Location: A nice place on earth
Posts: 309
Default

Quote:
Originally Posted by MrBaseball34 View Post
There is no WMI code that will work on all MBs because not all of them support WMI calls.
Also, be aware that there is no standard for communicating this type of information, believe it or not. Each vendor has their own way of doing that through the use of their own libraries. M$ is trying to get a standard started using WMI but not all have caught up and many don't even want to do it, it is up to them to support it.

I've found hundreds of code snippets and none of them work on my Dell MB.
Yeah,
I believe you
I have done the same and none works in my Sony laptop either.
This is kind of hopeless.

Thanks for trying
__________________
ERRARE HUMANUM EST
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 10:44 AM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2018, vBulletin Solutions, Inc.