On Tue, Oct 13, 2009 at 2:09 AM, Roland Turčan - RoTurSoft <[email protected]> wrote: > How can I get information about CPU, size of RAM, ... on Mac OS X?
There's I/O Registry in Mac OS X for such purposes. http://developer.apple.com/mac/library/documentation/DeviceDrivers/Conceptual/IOKitFundamentals/TheRegistry/TheRegistry.html#//apple_ref/doc/uid/TP0000014-TP9 I don't know if there's any Pascal based samples, but i'm sure there should be some C/C++-based samples available at XCode. I/O Registry is the part of IOKit framework. IOKit headers are not included in FPC headers, you'll need to convert headers (or only necessary functions/constants) manually. thanks, dmitry -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
