Hello,
I am doing a university project and a party is doing in a delphi program to report data such as cpu:
- Cpu temperature,
-% Ram usage, cpu%
- Data from the battery, the power is turned on, etc..
In summary are given of computer hardware.
Any suggestions, code, site is helpful.
Thanks
Get information from your computer using d2010
Started by jonnymr, Jul 31 2010 12:58 PM
7 replies to this topic
#1
Posted 31 July 2010 - 12:58 PM
|
|
|
#2
Posted 31 July 2010 - 06:48 PM
delphi cpu temperature - Google Search
delphi ram usage - Google Search
delphi laptop battery - Google Search
Ultimately, you're using hooks into the system to get this information.
delphi ram usage - Google Search
delphi laptop battery - Google Search
Ultimately, you're using hooks into the system to get this information.
#3
Posted 31 July 2010 - 08:05 PM
Search on google! You think I have not done this before? Are you kidding me? What did you mean 'Ultimately, you're using hooks into the system to get this information.'?
#4
Posted 31 July 2010 - 08:18 PM
Use the WMI interface Windows provides, I'm sure if you searched it you would know what to look for. Your question is too generic, we're here to help not write all the code for you!
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#5
Posted 01 August 2010 - 07:18 AM
The operating system provides functionality to access that information. You just need to find how to do it. No, I'm not going to do it for you, because when I'm on Windows, I'm also at work. In all seriousness, you aren't asking about anything new, so yes, I would expect you to spend a little time on google figuring it out. The code you need is in the first few links.
#6
Posted 01 August 2010 - 09:59 AM
friend 'winged', if you do not have a tangible solution, it is ok. In other forums and some sites (of the many visiting searching on google) I was able to answer most of my doubts. Do not waste your time posting comments.
#7
Posted 01 August 2010 - 10:01 AM
friend 'null'
I've used wmi to me shows a lot of information, but the temperature for some reason, I can not see. thanks for the suggestion.
I've used wmi to me shows a lot of information, but the temperature for some reason, I can not see. thanks for the suggestion.
#8
Posted 29 October 2010 - 10:43 PM
jonnymr said:
I've used wmi to me shows a lot of information, but the temperature for some reason, I can not see. thanks for the suggestion.
That's because this information is very motherboard specific. There is no firm guideline on how to provide/retrieve this information. So the way that works with one motherboard manufacturer has little chance to work with another. Even motherboards from the same manufacturer might use different ways to provide/read CPU temp from one model to another.
The reason? Because usually users don't need to care for this information (that including the operating system). AFAIK this information only useful for protecting the CPU from overheating. With this information the motherboard can:
- Adjust fan speed
- Activate/deactivate additional fan (if available)
- cut down the power when the temp already reach extreme value
You can see that there is no need for user intervention in this case.
Edited by LuthfiHakim, 06 December 2010 - 06:28 AM.


Sign In
Create Account

Back to top









