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 PROTECTED] 
Sent: Friday, November 14, 2008 3:17 PM
To: Tom Fortmann; 'chaitanya pandit'
Cc: [email protected]
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 PROTECTED]
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to