Link to home
Start Free TrialLog in
Avatar of rakhras
rakhras

asked on

Getting system information

Hi,

I am writing a VC++ 5.0 application. I need to figure out
some system information:

1. who manufactured the CPU (Intel, AMD, Cyrix, ...) ?

2. Whether a older chip has been updated using an "overdrive" chip, e.g., a 486 has been upgraded to Pentium (586)?

3. The speed of the CPU

4. Whether the Pentium chip is a Pentium, Pentium Pro, or Pentium II and whether they are using MMX technology?

Note: I rated the question 50 points to handle partial answers. If you answer all 4 questions, I will raise
it to 100 points.

thanks,
ralph
Avatar of k_chen
k_chen

I'm not too familiar with this either, but I know that the the win32 API call

GetSystemMetrics(..) can get you something useful.

Try it.

Good luck
Avatar of rakhras

ASKER

Thanks k_chen,

I looked at GetSystemMetrics() and it mostly deals with screen
and geometry issues. However, while browsing, I found
BOOL IsProcessorFeaturePresent() which will answer one of my questions and that is if the MMX instruction set is available.
ralph.
Use the WIN32 GetSystemInfo function
Avatar of rakhras

ASKER

rayb,

GetSystemInfo does not return any of the information
I am looking for (see points 1 to 4 above).
If there's something I'm missing, please advise.

ralph
Avatar of rakhras

ASKER

trestan,

I went to http://developer.intel.com/design/perftool/cpuid/package.htm
and I found exactly what i need.
If you answer the question now, I will give you the points.
thanks,
ralph
ASKER CERTIFIED SOLUTION
Avatar of trestan
trestan
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rakhras

ASKER

Adjusted points to 100