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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to