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: How to pass cmd line arguments to my carbon app?



At 0:00 -0800 14/9/05, Mike Kluev wrote:
 > 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.
He is probably thinking about analog of possibility found in
Windows - ability to set command line args in shortcut (alias).
Mike
(who still uses CW's "ccommand" from time to time.)

.. well, no .. i'm thinking about how argc/argv has been a standard way to pass options into apps, or at least C-based apps, since forever, and how it doesn't make any sense that i can use C in Apple-land, but not argc/argv, standardly, where i need to.


i do -not- want to change my args into preferences, just to be apple'ized, because my code runs on more than just OSX, but if thats the absolute answer from the barrel of technocratic wisdom that is the OSX runtime spec, then so ripe and sour be the apples upon which i must munch ..

can i be sure that there are -no- ways to get argc/argv from a the bundle .plist?

--

;

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

This email sent to email@hidden
References: 
 >Re: How to pass cmd line arguments to my carbon app? (From: Mike Kluev <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.