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 7:45 -1000 22/9/05, Byron Han wrote:
If you are serious about meeting the needs of your (MacOSX) users, I
would suggest the following:
if you are compiling on MacOSX, have a custom version of main() that
checks a preference and then calls the "real" main with the
additional argument.

yeah, cool .. i dig this advice but ..

That way, your MacOSX users can trigger your custom mode of your app
by setting a preference, rather than mucking with the Info.plist of
your application [which they may or (hopefully) may not have access
to edit.

.. these are not 'typical' OSX users, and this is not a mass-distribution app i'm building .. i only want 'argv semantics compatability', i don't want user friendliness or whatever ..


--

;

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: George Warner <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: Byron Han <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.