On Apr 30, 2010, at 1:18 PM, Matthew Mashyna wrote:

> I have an app that acts as a monitor for some other critical apps and one 
> thing the spec calls for is the need to look at other running apps and figure 
> out if they are running in 32 or 64 bit mode. The Activity monitor knows 
> this. How can I find a process's bit-ness? Sorry, not sure it if qualifies as 
>  Cocoa question. If not can someone recommend a more appropriate list?
> 
> Thanks,

On SnowLeopard, see the executableArchitecture property of the 
NSRunningApplication class.  On Leopard and earlier, you'll have to use the 
Process Manager or Darwin-level functionality.

-Peter

_______________________________________________

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