On 9/29/05 4:28 PM, Denis @ TheOffice didst favor us with:
> Re: Can't convert path ~/... to FsrefThanks,
> But, I fail to see how to integrate that into my code.
> I am trying to do a generic function that will handle all possible entry.
> Plus I was hopping for something in Carbon.
Why are you using paths and FSSpecs? Why not FSRefs? Where are you getting
these paths that they have tildas in them? Are you aware that this function
can fail because not all file names can be encoded into a Pascal string, and
that only the first 31 characters of that field are used?
Larry
>
>
> ----- Original Message -----
> From: Rosyna
> To: Denis @ TheOffice ; email@hidden
> Sent: Thursday, September 29, 2005 4:01 PM
> Subject: Re: Can't convert path ~/... to Fsref
>
>
> man 3 glob
>
>
> http://developer.apple.com/documentation/Darwin/Reference/ManPages/man3/glob.3
> .html
>
>
> Ack, at 9/29/05, Denis @ TheOffice said:
>
>
> I am trying to create/open a file with the origine in posix example
> "~/Library/Preferences/temp.tiff"
>
> I have made a function to convert based on some example I have found...
> It works most of the time but seems to failed with the TILDE(~) current
> user...
> The RetStatus is -43 rectory not found...
>
>
> --
>
>
> Sincerely,
> Rosyna Keller
> Technical Support/Holy Knight/Always needs a hug
>
> Unsanity: Unsane Tools for Insanely Great People
>
> It's either this, or imagining Phil Schiller in a thong.
_______________________________________________
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