How does MacFSRef work? (Real Studio network user group Mailinglist archive)
|Re: Stumper question - Leopard Crashes - Garth Hjelte|
|How does MacFSRef work? - Jean-Luc Arnaud|
|How does MacFSRef work?|
|Date: 02.08.13 16:46 (Fri, 02 Aug 2013 17:46:45 +0200)|
|From: Jean-Luc Arnaud|
Trying to replace MacDirId by MacFSRef, I found that using:
Dim f As FolderItem
Dim MB As MemoryBlock
If f<>Nil Then
TextArea1.TextðNativePath+" - MacDirID :
"+Str(f.MacDirID)+Chr(9)+"MacFSRef : "+Str(MB.Int32Value(12))
I got ever the same value for MacDirId and MacFSRef.
But I noticed, in addition, that all files in the same folders have the
MacDirId and the same MacFSRef.
Looking at the MB content, I noticed that there was values into the
first 12 bytes. What do they stand for?
Is my use of MacFSRef correct? I thought that MacFSRef was a unique
reference to a file (or folder)?
TIA for any help.
Unsubscribe by sending a message to:
<<email address removed>>
Search the archives: