Re: Trashing files and undo
Re: Trashing files and undo
- Subject: Re: Trashing files and undo
- From: "Sean McBride" <email@hidden>
- Date: Mon, 14 Jul 2008 10:03:32 -0400
- Organization: Rogue Research
On 7/12/08 11:49 AM, Charles Srstka said:
>He's not referring to making an alias *file*, just an alias in memory.
>To do that, you make an FSRef first as I described, then you use
>FSNewAlias() with NULL as the first argument, a pointer to your FSRef
>as the second argument, and a pointer to an AliasHandle as the third
>argument. Later, you can use FSResolveAlias() to get the FSRef back,
>and then you resolve the FSRef into a file path.
Or you just use the NDAlias class:
<http://homepage.mac.com/nathan_day/pages/source.xml>
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden