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
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
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.
I looked at GetSystemMetrics() and it mostly deals with screen
and geometry issues. However, while browsing, I found
BOOL IsProcessorFeaturePresent(
ralph.
Use the WIN32 GetSystemInfo function
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
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
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Adjusted points to 100
GetSystemMetrics(..) can get you something useful.
Try it.
Good luck