FuryCell Posted June 8, 2010 Share Posted June 8, 2010 (edited) VCTemp is an open-source tool that interfaces with CoreTemp to allow you to view the temperatures on a remote machine. This can be useful to keep an eye on processor temperatures of your rig while fullscreen gaming. VCTemp Site Hope some people find the tool or code useful. It is my first time dealing with dllstructs. Also, for people interested in interfacing with CoreTemp in their own scripts here is a link and a snippet of the related code in my app. http://www.alcpu.com/CoreTemp/developers.html $DLL = DllOpen("GetCoreTempInfo.dll") If $DLL=-1 Then MsgBox(0,"VCTemp:Error",'Failed to open "GetCoreTempInfo.dll". VCTemp will now exit.') Exit EndIf $Struct = DllStructCreate("uint[256];uint[128];uint;uint;float[256];float;float;float;float;char[100];BOOLEAN;BYTE") Func GetTemps($hDLL, $vStruct) Local $sReturn, $cTempFormat, $iCores, $iCounter $Ret=DllCall($hDLL, "BOOLEAN", "fnGetCoreTempInfoAlt", "ptr", DllStructGetPtr($vStruct)) If @Error Then Return ".ERROR." If $Ret[0]<>1 Then Return ".NODATA." $iCores = DllStructGetData($vStruct, 3) Switch DllStructGetData($vStruct, 11) Case 1 $cTempFormat = "F" Case 0 $cTempFormat = "C" EndSwitch For $iCounter = 1 To $iCores $sReturn &= Round(DllStructGetData($vStruct, 5, $iCounter)) & $cTempFormat If $iCounter <> $iCores Then $sReturn &= " " Next Return $sReturn EndFunc ;==>GetTemps Edited June 8, 2010 by FuryCell Synapsee 1 HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code. Link to comment Share on other sites More sharing options...
FuryCell Posted June 9, 2010 Author Share Posted June 9, 2010 (edited) Just got an email after contacting to author of CoreTemp. He offered to add it to the addons page at the CoreTemp site. Edited July 10, 2010 by FuryCell HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code. Link to comment Share on other sites More sharing options...
FuryCell Posted June 14, 2010 Author Share Posted June 14, 2010 VCTemp made it onto the addons page of coretemp. HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now