Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Getting system information

Posted on 1998-06-25
8
Medium Priority
?
134 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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 400 total points
ID: 1318434
Thanks.
0
 

Author Comment

by:rakhras
ID: 1318435
Adjusted points to 100
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

963 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