Re: Determine architecture of a running application

2011-07-22 Thread Jens Alfke
On Jul 22, 2011, at 12:19 PM, danchik wrote: > There might be another issue now, I think safari 5.1 (even when ran in 32bit) > now loads the plugins in another process through > com.apple.WebKit.PluginProcess instead of loading them in the same process as > Safari as it used to before the 5.1

Re: Determine architecture of a running application

2011-07-22 Thread danchik
July 21, 2011 10:57 PM Subject: Re: Determine architecture of a running application On Jul 21, 2011, at 11: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

Re: Determine architecture of a running application

2011-07-22 Thread danchik
32 bit safari browser in a new process. - Original Message - From: "David Duncan" To: "danchik" Cc: 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

Re: Determine architecture of a running application

2011-07-22 Thread David Duncan
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 a

Re: Determine architecture of a running application

2011-07-21 Thread Ken Thomases
On Jul 21, 2011, at 11: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 You can move this test to compile time. Afte

Determine architecture of a running application

2011-07-21 Thread danchik
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