realbasic-nug
[Top] [All Lists]

Re: File System declare question

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: File System declare question
From: Kevin Ballard <kevin at sb dot org>
Date: Fri, 28 Jun 2002 14:05:38 -0400
On 6/28/02 9:48 AM, "Randall Meadows" <randy at not-pc dot com> wrote:

> The former takes FSRef's, whereas the latter takes FSSpec's.  The
> other major difference I see is this comment for FSExchangeFiles:
> 
> "To exchange the contents of files with named forks other than the
> data and resource forks, or of files larger than 2 GB, use the
> FSExchangeObjects, PBExchangeObjectsSync, or PBExchangeObjectsAsync
> function."
> 
> FSExchangeFiles has other "Special Considerations" you should
> probably take note of.
> 
> FSExchangeObjects also doesn't mention that the two files have to be
> on the same volume, which is a limitation of FSExchangeFiles.

Hrm, I didn't realize FSpExchangeFiles required them to be on the same
volume. Maybe I should look into FSRefs and FSExchangeObjects.

Oh, and to the person that I mistakenly said I had the functions to deal
with FSRefs already, I don't. I was thinking about FSSpecs.

-- 
Kevin Ballard
kevin at sb dot org
Email from Korea or China must go to <kevin dot nb at sb dot org>
http://kevin.sb.org/



<Prev in Thread] Current Thread [Next in Thread>