• 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
Determine architecture of a running application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Determine architecture of a running application


  • Subject: Determine architecture of a running application
  • From: danchik <email@hidden>
  • Date: Thu, 21 Jul 2011 21:34:44 -0700

Hello, how can one determine if the currently running app is 32bit or 64

Specifically:

I have a 32 bit plugin compiled for 10.5+ and it needs to know if it was loaded by 32bit or 64bit Safari

I am aware of the [[NSRunningApplication currentApplication] executableArchitecture], unfortunately it is a 10.6+ class and will not compile under 10.5

Prior to the latest safari release it the bundle identifier for [NSBundle mainBundle] was always com.apple.Safari if it was 32bit and com.apple.WebKit.PluginHost if it was 64bit

Thank You



_______________________________________________

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: Determine architecture of a running application
      • From: David Duncan <email@hidden>
    • Re: Determine architecture of a running application
      • From: Ken Thomases <email@hidden>
  • Prev by Date: Re: core data migration - delete old store
  • Next by Date: Re: "Nested" runloops
  • Previous by thread: Cocoaheads- Silicon Valley July Meeting
  • Next by thread: Re: Determine architecture of a running application
  • Index(es):
    • Date
    • Thread