Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Cross platform file specification? (was Paths which was Best File System API to use?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cross platform file specification? (was Paths which was Best File System API to use?)



The only kind of path that's considered cross-platform are URLs, so I'd suggest
using a "file" URL; of course, that means you're going to have to make sure the
URL would work for all users in a particular environment, but if that's not
possible, you might try creating your own kind of URL, something others have
done for their purposes, such as iTunes (itms), Samba (smb), etc. If the
resources are available on a web server or with a well-defined protocol, that
would make it easier, as "file" would require the mount point to be the same
for each user.


Quoting John Stiles <email@hidden>:

Windows only supports paths and LNK files (which are pretty much just
paths anyway, and anyway Mac OS X cannot generate them). There's a kCFURLWindowsPathStyle which you could experiment with. I
honestly don't know how well this will work, but it's worth a shot as
a starting point.



On May 23, 2007, at 11:14 AM, Stephen Chu wrote:

I have a related question on paths. My app needs to pass specification of files on network volumes to Windows machines so they can open the same file.

Obviously Windows know nothing about FSRef or ecen FSSpec. Path seems to be the only way. But what format of paths? Is there a mechanism to exchange file specifications between platforms?

Thanks

-- Stephen Chu <mailto:email@hidden>
Rampage Systems, Inc. <http://www.rampageinc.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Best File System API to use? (From: Frank Vyncke <email@hidden>)
 >Re: Best File System API to use? (From: Laurence Harris <email@hidden>)
 >Re: Best File System API to use? (From: Rosyna <email@hidden>)
 >Re: Best File System API to use? (From: Dave <email@hidden>)
 >Re: Best File System API to use? (From: Laurence Harris <email@hidden>)
 >Re: Best File System API to use? (From: Stefan Werner <email@hidden>)
 >Re: Best File System API to use? (From: Laurence Harris <email@hidden>)
 >Cross platform file specification? (was Paths which was Best File System API to use?) (From: Stephen Chu <email@hidden>)
 >Re: Cross platform file specification? (was Paths which was Best File System API to use?) (From: John Stiles <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.