Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problems in running an application in Rosetta



Hello,
I need to start a third party application, from my cocoa application
in Rosetta. I was using "LaunchApplication" API to start that
application.

Steps, I taken, and their results are:

1. Checked "Run in rosetta" option on Info window. It runs in Rosetta
but if I copy my application to other location it doesn't preserve
this attribute.
2. Use ditto -arch ppc. Its works perfectly for me.
3. Change Info.plist of target application to include "LSPrefersPPC"
key as per documents. It doesn't start in Rosetta. In documentation I
got the sentence "For an application that you are writing,". Can not
this approach be used for applications, which are already written?
4. Use "sysctlbyname" function code as given in documentation but it
doesn't work. My guess is LaunchApplication might be using "exec" call
internally. Am I wrong here?

Any feedback.

Thanks,
Gurmit
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.