Determine architecture of a running application
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