RE: How do you get the OS X version number in C or C++?
RE: How do you get the OS X version number in C or C++?
- Subject: RE: How do you get the OS X version number in C or C++?
- From: "Tom Fortmann" <email@hidden>
- Date: Fri, 14 Nov 2008 15:37:05 -0600
I'm an idiot! I was trying to include gestalt.h directly. Simply including
the <CoreService/CoreService.h> header works like a champ.
-----Original Message-----
From: Sean McBride [mailto:email@hidden]
Sent: Friday, November 14, 2008 3:17 PM
To: Tom Fortmann; 'chaitanya pandit'
Cc: email@hidden
Subject: Re: How do you get the OS X version number in C or C++?
On 11/14/08 2:53 PM, Tom Fortmann said:
>What framework do I include in my Xcode project to pull in Gestalt? I've
>tries CoreServices, Carbon and Cocoa.
In Xcode, option-double-click the word "Gestalt" (or any API), this will
open the docs for that API. Scroll to the very top, you'll see:
Framework CoreServices/CoreServices.h
That's what you need to include, and that's which framework you should
link to.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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