[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Manuf and Model Info

Posted on 2002-06-11
9
Medium Priority
?
236 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
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 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
Suggested Courses

834 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