Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
RE: how to get OS name ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: how to get OS name ?



Isn't the Gestalt Manager still around?

Yup, sure is:
http://developer.apple.com/techpubs/macosx/Carbon/oss/GestaltManager/gestalt
manager.html

There's a lot of great stuff you can get from the Gestalt Manager... One of
my first mac applications was a program that just probed every single value
from the Gestalt Manager. :-) Ahh... good times.

-robert

> -----Original Message-----
> From: Andreas Schempp [mailto:email@hidden]
> Sent: Monday, April 28, 2003 11:33 PM
> To: Lloyd Dupont
> Cc: email@hidden
> Subject: Re: how to get OS name ?
>
> There's a good article about how to detect the users system at
> www.cocoadevcentral.com
>
> Direct link: http://cocoadevcentral.com/articles/000067.php
>
> I don't think you can get a string like "Mac OS X 10.2 Jaguar" somewhere,
> but you can say "Darwin 6.5" - it's 10.2.5
>
>
> > I try sysctl(..) but all I get is "Darwin 6.5"
> > even uname return Darwin.
> >
> > But I'm trying to get Jaguar, Panther, etc ...
> > or at least MacOSX 10.1, 10.2, ...
> >
> > where can I get this ?
> > _______________________________________________
> > cocoa-dev mailing list | email@hidden
> > Help/Unsubscribe/Archives:
> > http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> > Do not post admin requests to the list. They will be ignored.
> _______________________________________________
> cocoa-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.