I have an existing 32bit plugin that works if loaded in the same process as Safari, but has problems when 64 bit Safari load it through the PluginHost in a different process, so I need to be able to determine what architecture of the safari is running and if it is 64 bit, it would start a new 32 bit safari browser in a new process.

----- Original Message ----- From: "David Duncan" <david.dun...@apple.com>
To: "danchik" <danc...@rebelbase.com>
Cc: <Cocoa-dev@lists.apple.com>
Sent: Friday, July 22, 2011 9:23 AM
Subject: Re: Determine architecture of a running application


On Jul 21, 2011, at 9:34 PM, danchik wrote:

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


What do you need to know this for? There is almost certainly a better solution than knowing this, especially since it is likely that you can't know this reliably.
--
David Duncan



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to