Solved

Getting system information

Posted on 1998-06-25
8
126 Views
Last Modified: 2013-11-20
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
0
Comment
Question by:rakhras
8 Comments
 

Expert Comment

by:k_chen
ID: 1318428
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
0
 

Author Comment

by:rakhras
ID: 1318429
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.
0
 
LVL 2

Expert Comment

by:rayb
ID: 1318430
Use the WIN32 GetSystemInfo function
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 8

Expert Comment

by:trestan
ID: 1318431
0
 

Author Comment

by:rakhras
ID: 1318432
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
0
 

Author Comment

by:rakhras
ID: 1318433
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
0
 
LVL 8

Accepted Solution

by:
trestan earned 100 total points
ID: 1318434
Thanks.
0
 

Author Comment

by:rakhras
ID: 1318435
Adjusted points to 100
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question