Mailing Lists: Apple Mailing Lists

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

Re: Launching an app from Carbon app (newbie question)



At 09:21 AM 10/17/2005, you wrote:
I looked into using Carbon's LaunchApplication call, but I don't
see any way I can pass in command line parameters.  Does anyone
here have any suggestions as to what I could do to get this working?

You could send an AppleEvent containing the required information to the application as soon as it has been finished launching.

Unfortunately, the initialization of the different components that requires the command line arguments happens in ApplicationWillFinishLaunching. If I can receive the event before its done launching, then I can make it work, but otherwise, I'm going to need a different solution.


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-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.