| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
If you intend to provide some args built into your end-user app, why are they arguments? Anything cooked in to your Info.plist might as well be hardcoded into main().
If you intend to edit the Info.plist to communicate information to your app, why don't you just use the API that reads your bundle's plist to get that information, rather than trying to get it in argc/argv?
argc/argv is the API for command-line tools. It is not part of the Mac OS X user model for users to provide parameters when double-clicking applications.
--
;
Jay Vaughan
_______________________________________________ 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
| References: | |
| >Re: How to pass cmd line arguments to my carbon app? (From: Jay Vaughan <email@hidden>) | |
| >Re: How to pass cmd line arguments to my carbon app? (From: Chris Espinosa <email@hidden>) | |
| >Re: How to pass cmd line arguments to my carbon app? (From: Jay Vaughan <email@hidden>) | |
| >Re: How to pass cmd line arguments to my carbon app? (From: Eric Schlegel <email@hidden>) | |
| >Re: How to pass cmd line arguments to my carbon app? (From: Chris Espinosa <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.