Solved

Getting system information

Posted on 1998-06-25
8
125 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
 
LVL 8

Expert Comment

by:trestan
ID: 1318431
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Smart Camera scanning and reading information 3 100
FizzBuzz challenge 9 76
firstChar challenge 13 110
Trying to run powershell  in a batch file. How do I do this? 8 67
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

910 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

16 Experts available now in Live!

Get 1:1 Help Now