Informações da Bios

Delphi

16/10/2003

Ai Galera ....

como pegar informações da bios no Windows XP ???

uso esse comando abaixo só que dá erro no xp...

function GetBiosInfoAsText: string;
var
p, q: pchar;
begin
q := nil;
p := PChar(Ptr($FE000));
repeat
if q <> nil then begin
if not (p^ in [#10, 13, ´ ´..´~´ , ´©´ , ´¸´ ]) then begin
if (p^ = 0) and (p - q >= 8) then begin
Result := Result + TrimRight(String(q)) + 1310;
end;
q := nil;
end;
end else
if p^ in [´!´..´~´ , ´©´ , ´¸´ ] then
q := p;
inc(p);
until p > PChar(Ptr($FFFFF));
Result := TrimRight(Result);
end;

alguém sabe como conseguir essa informações no XP ????
desde já agradeço....


Ajmsistemas

Ajmsistemas

Curtidas 0
POSTAR