Solved

Getting system information

Posted on 1998-06-25
8
124 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
Comment Utility
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
Comment Utility
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
Comment Utility
Use the WIN32 GetSystemInfo function
0
 
LVL 8

Expert Comment

by:trestan
Comment Utility
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 

Author Comment

by:rakhras
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks.
0
 

Author Comment

by:rakhras
Comment Utility
Adjusted points to 100
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
cat dog challenge 18 122
repeatEnd java challenge 42 83
java ^ examples 8 57
Problem to event 3 48
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
This video discusses moving either the default database or any database to a new volume.

772 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now