This came up originally on Cocoa-dev. The manual pages for
gestaltSystemVersion apparently recommend against its use:
file:///Developer/ADC%20Reference%20Library/documentation/Carbon/
Reference/Gestalt_Manager/gestalt_refchap/chapter_1.4_section_181.html
A better way to obtain version information in Mac OS X is to read
the system version information from the following file:
/System/Library/CoreServices/SystemVersion.plist
Why is this? Gestalt seems like a simpler solution, compared to
parsing a plist. I also thought that early OS X Server versions
lacked this plist entirely.
That doesn't make much sense to me either. I've forwarded your
question to the engineer who owns Gestalt and we'll see what he says.
-eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden