Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


retrieve bios date using delphi

Posted on 2015-02-17
Medium Priority
Last Modified: 2015-02-17

I use Delphi 6.
Under WinXP I used following code to retrieve bios information

Function GetBIosInfo: string;
BiosDate, BiosName, BiosVersion, BiosNum: String;
    Result := BiosDate; //BiosName, BiosVersion etc
    Result := 'no result';

Moved to Win 7 I noticed that there is no result. Code withing try is not ecexuted.

I also noticed answerID=1215430. Trying it was ineffective too, giving a compiling error in the line
  Selector := AllocSelector(DSeg);  // undeclared identifier: AllocSelector
(Might be more compiling errors in later laines)

Could you please propose something?

Best regards
Question by:nikif
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 35

Accepted Solution

ste5an earned 1200 total points
ID: 40613951
I'm surprised that this really worked on all machines. Did this really work on NT windows? Cause the only direct available BIOS I know where addressable in DOS.

Newer computers don't have a BIOS anymore, they have UEFI. So you should explain why you want to interact with the hardware.

Maybe this is what you're looking for: the ROM-BIOS?
LVL 19

Assisted Solution

MerijnB earned 800 total points
ID: 40613998
I agree with ste5an, besides, this is tricky stuff and might be different for different bioses and operating systems.

I would either use something commercial like:

Or try to get this info through WMI:

Author Closing Comment

ID: 40614307
Thank you both. I really ignored the status of new machines. I recently went to Win7, so I tried to have some of my applications in the the W7 environment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Know the reasons and solutions to move/import EDB to New Exchange Server. Also, find out how to recover an Exchange .edb file and to restore the file back.
In this modest contribution, I want to share with the IT community (especially system administrators, IT Support Engineers and IT Help Desks) about Windows crashes/hangs and how to deal with these particular problems.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

688 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