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: how to get the absolute path of file/dll/exe



On Thu, 24 Apr 2008 17:14:46 -0400, Laurence Harris <email@hidden>
wrote:

>
>> While we are on this subject, I realise I store paths in persistent
>> data.
>> FSRefs are all very well at runtime, but what is the approved
>> canonical
>> way to get a character representation that can be used, in a later
>> run, to reference the intended same file?
>
> I cannot express how discouraging it is to know there are more and
> more people out there writing Mac software who are unaware of things
> like aliases. Mac software is not just software that runs on a Mac.
> It's software written to provide the superior user experience that
> sets the Mac apart from its competition. One way you do that is to
> rely on paths as little as possible so users feel free to rename and
> reorganize what's on their computers as they see fit without fear
> something is going to break. Prior to Mac OS X that flexibility was
> normal. Now, thanks to the influx of Cocoa and Unix programmers who
> don't value this concept, it's a real crap shoot if moving or
> renaming something will cause a problem.

<http://developer.apple.com/qa/qa2004/qa1350.html>

-- 
Enjoy,
George Warner,
Schizophrenic Optimization Scientist
Apple Developer Technical Support (DTS)


 _______________________________________________
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



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.