On Apr 24, 2008, at 1:45 PM, Laurence Harris wrote:
On Apr 24, 2008, at 3:50 PM, Keith Wiley wrote:
I know how to use NavCreateChooseFolderDialog to get a folder and
then, with some finangling, construct the generic FSSpec of a file
in that that folder.
FSSpecs have been deprecated for a long time. You should be working
with FSRefs at this point.
I don't even know how to get started updating my file-handling
skills. Do FSRefs work with the Nav routines, which seem to operate
on FSSpecs, or do I have to use a completely different set of
routines for presenting file opening/saving dialogs?
Is this where I should be looking?
http://developer.apple.com/documentation/Carbon/Conceptual/ProvidingNavigationDialogs/nsx_tasks/chapter_3_section_1.html
It's all Nav stuff, FSSpecs and such. The webpages don't have the
yellow deprecated message that some documentation pages have.
I just don't even know where to start with this. If I got here:
http://developer.apple.com/documentation/Carbon/
and select File Management, I don't see a single over-arching
"here's how to start learning the new nondeprecated methods"
documentation. What I do see, third in the list, is the link to the
Nav routines, without a deprecation message, which teaches file
management using FSSpecs, as I showed above.
Help.
Thanks.
________________________________________________________________________
Keith Wiley email@hidden http://www.cs.unm.edu/~kwiley
"Never underestimate a computer program's ability to enter a loop that
counts to a quadrillion. Furthermore, never underestimate a
programmer's ability to accidentally put a print out statement inside
that loop."
-- Keith Wiley
________________________________________________________________________