TProcess can query processor information in Mac OS X?
TProcess letudja kérdezni a processzor információit Mac OS X-ben?
Other/Egyéb:
if WinXP then...
end if Win7 then...
end if Linux then...
[..]
How can it be done?
Hogyan tudom ezt megcsinálni?
The TProcess can't query any information about your processor. It can run a process or a "program".
On Windows platform, try to use the registry, I think the windows store every settings and information here. On Linux, there are lot of programs which are runnable with TProcess, and these programs output give you some information.
A TProcess nem tud semmilyen információt lekérdezni a processzorodról egyik operációs rendszeren sem. Csupán egy külső programot, vagy processzt képes futtatni és "felügyelni". Windows-on próbálj a regisztrációs adatbázisból kinyerni információkat, szerintem a windows mindent itt tárol. Linuxon egy csomó parancssoros program létezik amelyeket futtathatsz a TProcess-el és amelyek kimenete elegendő információt adhat neked.
Egyébként megpróbálhatod használni a Freepascal és a Lazarus dokumentációit. pl a BaseUnix unit linux alatt segítségedre lehet pár dologban.