How to Get Information from the BIOS?

This is a discussion on How to Get Information from the BIOS? within the C++ Programming forums, part of the General Programming Boards category; I'm writing a program that adds all my company's computers' information to a database. I've got the RAM, processor, hard ...

  1. #1
    Mike2432
    Guest

    How to Get Information from the BIOS?

    I'm writing a program that adds all my company's computers' information to a database. I've got the RAM, processor, hard drive space, etc. already and just need the models and serial numbers. They're all Dells and I've searched the registry and can't find anything. I know, however, that the information is listed in the BIOS at the top of the main page. How can I access that from a program?

    Thanks!

  2. #2
    Registered User subdene's Avatar
    Join Date
    Jan 2002
    Posts
    359
    you may have to use assemberly language. Look up the bios interrupts and then call 10h once you found and stored all the necessary values for the sub function in the specific registers.
    Be a leader and not a follower.

  3. #3
    Registered User
    Join Date
    Jun 2002
    Posts
    106
    can't we do that with c++ without using another language
    C++ Makes you Feel Better

    "Gravity connot be held reponsible for people falling in love"--Albert Einstein

  4. #4
    Registered User subdene's Avatar
    Join Date
    Jan 2002
    Posts
    359
    Right, I have been doing some searching. There is a header file called bios.h. It is not usually included with modern day compilers. I found a copy of it with my turbo c. You can download here. So if you put that in your include directory, you can then go to this site which tells you some of the functions availabel:

    http://www.digitalmars.com/rtl/bios.html.

    Hope this helps.
    Attached Files Attached Files
    Be a leader and not a follower.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 5
    Last Post: 06-01-2009, 07:54 PM
  2. Assignment Help !! (Student information system)
    By ashb in forum C++ Programming
    Replies: 6
    Last Post: 03-12-2005, 04:32 AM
  3. Going out of scope
    By nickname_changed in forum C++ Programming
    Replies: 9
    Last Post: 10-12-2003, 06:27 PM
  4. Special Allegro Information
    By TechWins in forum Game Programming
    Replies: 12
    Last Post: 08-20-2002, 11:35 PM
  5. bios information
    By alnitak in forum Windows Programming
    Replies: 0
    Last Post: 03-14-2002, 04:31 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21