Solved

Manuf and Model Info

Posted on 2002-06-11
9
231 Views
Last Modified: 2010-04-02
Does anyone have code that will return the Manuf and Model of a computer...? just simple hardware information...?

Some simple API calls or a procedure that will return the Make and Manuf of any computer would be great.

Q2
0
Comment
Question by:quantum2
9 Comments
 
LVL 22

Expert Comment

by:nietod
ID: 7071321
There is no portable way to do this.  C++ has no built-in features for this.  It must be done using OS-specific technques.  (Which of course defeats the purpose to a large extent.)
0
 
LVL 1

Author Comment

by:quantum2
ID: 7071327
Assume the OS is NT and higher only.

Thanks

Q2
0
 
LVL 1

Author Comment

by:quantum2
ID: 7071341
I assumed that reading the BIOS info would provide this, but it doesnt seem to, or at least not the way I am, doing it. Also I figured there was some standard WinAPI since this information appears in the SYSTEM dialog for the machine when you do a RIGHT CLICK/Properties on "My Computer"

Q2
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
LVL 1

Author Comment

by:quantum2
ID: 7071348
I assumed that reading the BIOS info would provide this, but it doesnt seem to, or at least not the way I am, doing it. Also I figured there was some standard WinAPI since this information appears in the SYSTEM dialog for the machine when you do a RIGHT CLICK/Properties on "My Computer"

Q2
0
 
LVL 22

Expert Comment

by:nietod
ID: 7071424
That information is in the windows registry somewhere.

I would recommend you ask in the Windows programming topic area.  This is not really a C++ question.
0
 
LVL 32

Expert Comment

by:jhance
ID: 7071473
The fact is that this information is NOT necessarily available.  SOME (and I stress SOME) system builders add special programs and usually these have corresponding registry entries that help to identify the system as theirs.  One tipoff that this is the case would be if the MY COMPUTER properties shows a computer make/model.  But this is NOT a standard feature of Windows.

0
 
LVL 1

Author Comment

by:quantum2
ID: 7071478
I assumed that reading the BIOS info would provide this, but it doesnt seem to, or at least not the way I am, doing it. Also I figured there was some standard WinAPI since this information appears in the SYSTEM dialog for the machine when you do a RIGHT CLICK/Properties on "My Computer"

Q2
0
 
LVL 1

Author Comment

by:quantum2
ID: 7071507
I placed this question in the wrong section and was informed accordingly. I will replace the question with the same Point value in the Winodws section.
0
 

Accepted Solution

by:
ComTech earned 0 total points
ID: 7071582
User has requested a refund to move the question to another TA.

Regards to all,
ComTech
CS Admin @ EE
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need some help with listview limit text 20 109
Grammars for C C++ and java 1 131
c++ substatte a varabe for a string in a LPCTSTR statment 8 88
c++ syntax question 9 52
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

809 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