Re: Getting a carbon's info string
Re: Getting a carbon's info string
- Subject: Re: Getting a carbon's info string
- From: Dan Saul <email@hidden>
- Date: Fri, 5 Nov 2004 09:50:53 -0600
Wow you really went in depth there, I thank you for that, however I
suppose due to to my lack of clarity, what i meant was to get the
version of the app itself. What I am trying to do is write an
updating system for game, so I need to get the version number of the
game before I can act on it.
For applications with info(strings) that is easy, but for carbon
applications not so much.
Thanks alot!
-- Dan Saul
On Fri, 05 Nov 2004 08:51:17 -0600, Ricky Sharp <email@hidden> wrote:
>
>
>
> On Friday, November 05, 2004, at 08:15AM, Dan Saul <email@hidden> wrote:
>
> >I am wondering how to get a carbon's info string preferably from
> >cocoa, I've looked all over, googled, and searched this mailing list,
> >but i haven't been able to find anything useful to this. If anyone
> >would be able to help I'd be grateful.
>
> To get the version of Carbon, you need to use the Gestalt API with the gestaltCarbonVersion selector (see Gestalt.h).
>
> However, note that the version of Carbon really only had meaning under Mac OS 8.x & 9.x. Under those OS versions, the version obtained is the exact version of CarbonLib that is installed. The various versions of Mac OS X do return values for Carbon, but they were often close approximations to the 8.x/9.x CarbonLib version. What I mean by this is that the development efforts of CarbonLib and Mac OS X were often staggered.
>
> Since future development of CarbonLib is not going to happen, I would suggest not worrying about querying the version. Especially if you are developing apps for Mac OS X 10.2 and later.
>
> Finally, note that Carbon still does evolve under Mac OS X. New APIs are introduced all the time. Those APIs, however, are not added to CarbonLib. I'm not sure how Apple will version Carbon under Mac OS X from this point onward. My guess is that the version is bumped for major OS releases.
>
> How do you plan to use this version info? There may be better solutions available to solve the problems you have.
>
> --
> Rick Sharp
> Instant Interactive(tm)
>
>
_______________________________________________
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