• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Determining OS version
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Determining OS version (From: Jerry Krinock <email@hidden>)
 >Re: Determining OS version (From: "Paul J. Lucas" <email@hidden>)
 >Re: Determining OS version (From: Nick Zitzmann <email@hidden>)
 >Re: Determining OS version (From: "Paul J. Lucas" <email@hidden>)

  • Prev by Date: Re: Determining OS version
  • Next by Date: Re: Determining OS version
  • Previous by thread: Re: Determining OS version
  • Next by thread: Re: Determining OS version
  • Index(es):
    • Date
    • Thread