• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1101
  • Last Modified:

how to read bios information in C++ ?

how to read Bios information in C++ ?

0
Parth48
Asked:
Parth48
  • 5
  • 4
1 Solution
 
jkrCommented:
OS? (trying to be equally brief)
0
 
Parth48Author Commented:
Windows 7 ....
0
 
Parth48Author Commented:
i have to read bios information using C++ in windows 7 ..

I am compiling C++ program through Visual Studio 2008 using Win32 Console application ...

0
Independent Software Vendors: 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!

 
jkrCommented:
In the case of Win7, you pretty much will have to go the WMI route (the only other alternative would be to write a driver) - see http://msdn.microsoft.com/en-us/library/aa394077%28VS.85%29.aspx ("Win32_BIOS Class") and http://www.codeproject.com/KB/system/UsingWMI.aspx ("Making WMI Queries In C++")
0
 
Parth48Author Commented:
Without WMI It's Possible in C++ ?
0
 
jkrCommented:
As I wrote: If you want to write your own kernel-mode driver - yes. If not, you'll have to use WMI.
0
 
Parth48Author Commented:
how to make kernel - mode driver ?

can u please tell me ?
0
 
jkrCommented:
Well, take a look at http://www.codeproject.com/KB/system/driverdev.aspx ("Driver Development Part 1: Introduction to Drivers") - yet calling WMI from C++ is a piece of cake compared to that. Plus, any small error inside a driver will cause a BSOD.
0
 
Parth48Author Commented:
Thanks @jkr ...
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now