Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Gestalt function

Gestalt function
Thread Tools
Fresh-Faced Recruit
Join Date: Apr 2001
Location: Cairo, Egypt
Status: Offline
Reply With Quote
May 3, 2001, 06:17 AM
 
Assalamu 3alaikum,
I have an observation that I am unconfortable with. I am using the Gestalt function to determine the version of the Mac OS running. The result is supposed to be in the low order bits of an long variable. So if the OS is 9.1.1 then the low order bytes should be 0000911h (Hexadecimal of course.) If 8.6.0 then it would be 0000860h. However when I run under Mac OS 10.0.2, it returns 0001002h. This looks wrong to me since the logical return value is 0000A02h. Anyone have any comments about this?
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:56 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2