Re: How to ensure minimum version requirement
Re: How to ensure minimum version requirement
- Subject: Re: How to ensure minimum version requirement
- From: Tommy Nordgren <email@hidden>
- Date: Thu, 8 Nov 2007 15:07:00 +0100
On 8 nov 2007, at 10.09, Andre Schnoor wrote:
Hi all,
although I digged the docs and googled a while, I could not seem to
find any proposed way for determining the MacOS X version number
(at runtime) from inside a Cocoa application. Maybe I missed
something, but IMHO this is a very basic information that should be
easily available somewhere.
Where can version information be gathered? Is there a better way to
ensure that an application will refuse to run on older versions of
OSX, issueing a warning to the user?
Thanks in advance.
Andre
You can use the Carbon function Gestalt to find out this.
------
What is a woman that you forsake her, and the hearth fire and the
home acre,
to go with the old grey Widow Maker. --Kipling, harp song of the
Dane women
Tommy Nordgren
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden