DLL or source code

Updates on developement of new features and user input/requests

Moderator: imposter

Post Reply
mojo
New User
Posts: 1
Joined: Wed Feb 27, 2008 1:22 am

DLL or source code

Post by mojo »

Any chance of a DLL version or the source being released? Or maybe just the stuff for reading the DTS. There is some source floating about on the web to do it in C, but it needs a driver.

It would be very useful to read temperature data in other programs, and currently there is no good way of doing it. You have to run some bulky program like SpeedFan, the ancient MBM or Everest just to get temp data. If I already have a monitoring program (e.g. LCD Smartie) I don't need another!

Someone really needs to make a DLL for getting system info like CPU temperature, SMART data, fan speeds etc. I wanted to do it but getting hardware info is next to impossible it seems :(

imposter
Moderator
Moderator
Posts: 154
Joined: Sun Mar 06, 2005 5:07 pm
Location: NYC
Contact:

Post by imposter »

Thecoolest doesn't share the coretemp source code. however does uses a driver to read the core tempertures of the cpu.

User avatar
The Coolest
Site Admin
Site Admin
Posts: 3379
Joined: Tue Feb 18, 2003 7:48 pm
Location: Tel Aviv, Israel
Contact:

Post by The Coolest »

There's a DLL to access Core Temp's data, if you're still interested.
http://www.alcpu.com/CoreTemp/developers.html
Main rig:
AMD Ryzen 9 5950X (True Spirit 140 Direct) / Mobo: Asrock Fatal1ty X470 / EVO 970 500GB + WD Blue 250GB + HDD / GPU: Dell RX 570 4GB / Mem: 2x16GB DDR4-3200 G.Skill 32GTZKW TridentZ - 32GB total / PSU: Seasonic Prime Ultra Gold 650W
NAS:
Core i7 2600K 3.4GHz @ 4.3GHz (Scythe Mugen2) / Mobo: Biostar TP67XE / 2x Inland Pro 120GB + HDDs / GPU: ATi Mach64 VT2 / Mem: 4x4GB DDR3-1600 G.Skill 8GBXL RipJawsX - 16GB total / PSU: Seasonic S12II 620W.
Secondary rigs:
Core i3 7130U / MiniPC / SanDisk SDSSDP-128G / GPU: Intel HD 620 / Mem: 1x8GB DDR3L-1600
Xeon X3430 2.40GHz @ 3.06GHz or Core i3 540 3.06GHz @ 4.0GHz (Freezer 7 Pro) / Mobo: MSI H55M-ED55 / PNY CS1111 240GB / GPU: ATI FirePro V3800 / Mem: 4x2GB DDR3-1600 G.Skill 4GBRL RipJaws - 8GB total / PSU: Seasonic S12II 620W
AMD Phenom II X4 B93 / Mobo: ASUS M2A-VM / GPU: ATI Radeon Xpress X1250 / Crucial M4 120GB / Mem: 2x2GB DDR2-800 - 4GB total / PSU: Antec 380W.

Core Temp - Accurate temperature monitor for Intel's Core/Core 2 and AMD64 processors

CoreTemp-User084
New User
Posts: 2
Joined: Thu Jan 01, 1970 12:00 am

Post by CoreTemp-User084 »

Edit: lol, didnt notice how old the post was :x.

I suggest downloading winring0.dll to read core temps. It is what Real Temp uses to read core temps; the rest of the program really just fiddles with what the dll reports. You can read a lot of other system data with the dll. Take a look through the doc.

http://openlibsys.org/

Once you have the dll, here's how to read temps (borland c++ builder). The below is using a TJMax of 100, change that to suit your needs since different processors have a different tjmax.

Code: Select all

//This must be called first
InitializeOls();

void GetTemps(DWORD* iTemp, int iCoreNum)
{
	DWORD dwEAX, dwEDX;
 
	RdmsrEx( 0x19C , &dwEAX , &dwEDX , iCoreNum );

	dwEAX = dwEAX & 0xFF0000;
	dwEAX = dwEAX >> 16;

	*iTemp = 100 - dwEAX;
}

Post Reply

Return to “Core Temp - Development”