Re: Determining OS version
Re: Determining OS version
- Subject: Re: Determining OS version
- From: "Sean McBride" <email@hidden>
- Date: Tue, 18 Oct 2005 14:12:51 -0400
- Organization: Rogue Research
On 2005-10-18 11:01, Paul J. Lucas said:
>> Try using Gestalt() then to get the system version. You can search the list
>> archives for details.
>
> Actually, the Gestalt documentation specifically says to use the
> /System/Library/CoreServices/SystemVersion.plist file.
So it does! Here:
<http://developer.apple.com/documentation/Carbon/Reference/
Gestalt_Manager/gestalt_refchap/chapter_1.4_section_181.html>
But IMNSHO that is bad advice. Writing code like that makes it hard for
Apple to change the file layout of the OS. In the Classic days one
could have multiple System folders anywhere on your drive, it was great,
this kind of coding practice makes it harder to ever get back to that.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden