On Feb 20, 2006, at 3:21 PM, Thom McGrath wrote:
Preferably both. For example, if running a PPC binary on Intel and
a new version becomes available online I can display a customized
alert that this new version is a UB. If they are running a PPC
binary on PPC, why do they care.
Please, this is purely speculative at the time. Personally, I don't
believe the above is a great use, but I'm looking for a reliable
method.
If you really want to know what chip you're running on, use Gestalt.
gestaltNativeCPUtype = 'cput'
gestaltNativeCPUfamily = 'cpuf'
One of those should do the trick.
Seth Willits
----------------------------------------------------------
Freak Software - http://www.freaksw.com/
ResExcellence - http://www.resexcellence.com/realbasic/
----------------------------------------------------------
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>