• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting a StringPtr from Gestalt on 64-bit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting a StringPtr from Gestalt on 64-bit


  • Subject: Re: Getting a StringPtr from Gestalt on 64-bit
  • From: David Duncan <email@hidden>
  • Date: Thu, 3 Sep 2009 12:47:56 -0700

On Sep 3, 2009, at 12:35 PM, Scott Lahteine wrote:

As it turns out Gestalt(gestaltUserVisibleMachineName) returns error -5551 in a 64 bit binary anyway. I wasn't seeing this because apparently my build architecture - "Standard Universal (32/64 bit)" - was/is for some reason launching the 32 bit binary. I had to explicitly specify "64-bit Intel" to get it to launch exactly the binary I wanted. Maybe this is because my system is booted into the 32-bit kernel...?


The kernel you are booted into has no effect on the binaries that will launch. However, your project settings will determine what build is launched, and older projects will often have i386 as default (a newly created project shows that x86_64 is shown by default on my machine).
--
David Duncan
Apple DTS Animation and Printing


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Getting a StringPtr from Gestalt on 64-bit
      • From: Kyle Sluder <email@hidden>
References: 
 >Re: Getting a StringPtr from Gestalt on 64-bit (From: Scott Lahteine <email@hidden>)
 >Re: Getting a StringPtr from Gestalt on 64-bit (From: Clark Cox <email@hidden>)
 >Re: Getting a StringPtr from Gestalt on 64-bit (From: Scott Lahteine <email@hidden>)

  • Prev by Date: Re: [Workaround] Re: My NSUndoManager subclass is broken on SL - how to fix?
  • Next by Date: Re: bad behavior from unlockFocus on 10.6
  • Previous by thread: Re: Getting a StringPtr from Gestalt on 64-bit
  • Next by thread: Re: Getting a StringPtr from Gestalt on 64-bit
  • Index(es):
    • Date
    • Thread