> CreateStandardAlert and RunStandardAlert.
>
Perhaps, I looked too fast on that one. A reference to it in the doc would have been nice.
Thanks, I am going to start converting.
You know at this point (a few months) I must rely on samples a lot,
for platform dependant codes like files, interface... handling,
but many are using obsoletes like FSSpec, That does not help much.
And the worst part is I found them on the Apple site.
----- Original Message -----
From: "Eric Schlegel" <email@hidden>
To: "Denis@TheOffice" <email@hidden>
Cc: "Jerry" <email@hidden>; "Carbon Development" <email@hidden>
Sent: Friday, September 30, 2005 11:23 AM
Subject: 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