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: Can't convert path ~/... to Fsref




On Sep 30, 2005, at 8:15 AM, Denis @ TheOffice wrote:

CFURL function does not support "~/...'
Nor FSPathMakeRef(...);

That's true. That's because the ~ character is strictly a function of a command-line shell; it's not part of the file system specification. When you're in the shell and you type "ls ~", the ls tool doesn't get a path containing "~" as argv[1]; it gets a path to your home directory. It's the shell's job to expand ~ into the path to your home directly before passing it to the application. Likewise, if you want to handle ~ inside your application, it's your job to expand that character using the glob API.


About Pascal string :
What is the none Pascal version of :
StandardAlert(); It does not say that it is deprecated at all.
I Couldn't find one...

CreateStandardAlert and RunStandardAlert.

-eric

_______________________________________________
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: Can't convert path ~/... to Fsref (From: Laurence Harris <email@hidden>)
 >Re: Can't convert path ~/... to Fsref (From: "Denis @ TheOffice" <email@hidden>)
 >Re: Can't convert path ~/... to Fsref (From: Jerry <email@hidden>)
 >Re: Can't convert path ~/... to Fsref (From: "Denis @ TheOffice" <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.