PDA

View Full Version : A CPUID library!



KiD0M4N
11-30-2007, 12:57 AM
Hi people,

Some of you might know that the detection engine behind the wonderful CPU-z program is now available as a commercial SDK for use in 3rd party applications.

Because of the nature of the program, the author has put a nice price tag of $999 on the SDK (CPUID Developers Corner)

Can someone find me a similar SDK which is available for much less or (even better) open source? I am kinda renovating a application I had written some time back and want to integrate system component and oc detection features.



Regards,
Karan

PS: A counter strike source account to anyone who helps me find this !

KiD0M4N
11-30-2007, 04:46 AM
Hey people,

The benchmark itself is completely open source.... so care to help a fellow member out?

Regards.

GoThr3k
11-30-2007, 07:06 AM
http://www.geekhideout.com/iodll.shtml

hope this helps?
Codered used it vor A64 tweaker

KiD0M4N
11-30-2007, 07:51 AM
http://www.geekhideout.com/iodll.shtml

hope this helps?
Codered used it vor A64 tweaker

Thanks for the link mate. It will definitely help if i decide to expand and detect more hardware. I guess I will just write the library to do some basic CPU detection.

GoThr3k
11-30-2007, 08:58 AM
what are the thing you would like to read out from the cpu?

KiD0M4N
12-03-2007, 05:34 AM
what are the thing you would like to read out from the cpu?

Basically, I wanted to use the library in this benchmark tool: http://www.superprime.org/

I wanted to show the CPU information, etc.

Since I could not find any good ones, I have put together my own.

If people are interested I can put the code together in a library.

GoThr3k
12-03-2007, 05:53 AM
processor info (vendor, family, etc) is done easily with cpuid instruction

KiD0M4N
12-03-2007, 06:31 AM
processor info (vendor, family, etc) is done easily with cpuid instruction

Yes.... but also wanted to find out other configuration related stuff like RAM Mhz, timings, etc. Thats not so easy to get... :(

GoThr3k
12-03-2007, 07:50 AM
Yes.... but also wanted to find out other configuration related stuff like RAM Mhz, timings, etc. Thats not so easy to get... :(

i know :) working on a similar project like yours :)

Metric
12-03-2007, 05:38 PM
Found another nice site (was looking for a cpuid library myself for a while) Includes source code and a compiled .dll library as well:

http://community.devpinoy.org/blogs/cvega/archive/2006/04/07/2658.aspx

jfpoole
06-19-2008, 08:56 AM
If you're still looking you could take a look at geekinfo (http://code.google.com/p/geekinfo/). It's an open source cross-platform hardware/software information library.

FrogBite
06-22-2008, 03:48 PM
Here´s a simple, maybe sloppish way to do the job, open the Window´s system properties window where it shows you all the PC info. Using FindWindow or another function retrieve the text of the various windows. (See screenshot).

http://img103.imageshack.us/img103/7186/gettingcpuinfouc5.jpg

You can also use dxdiag to display hardware (video for example) but by me it failed to show the real CPU speed.


-------------------------------------------
http://msdn.microsoft.com/en-us/library/ms724423(VS.85).aspx

You can use:
system("rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,System");
To open the specified window.

Then just enum the child windows.