Thomas Reed (tareedlists at mac dot com) schrieb dereinst (am 27.01.2005 21:43
Uhr):
> On Jan 27, 2005, at 1:52 PM, Charles Yeomans wrote:
>
>> I have plenty of such code. For existing FolderItems, use
>> CFURLCreateFromFSRef. Of course this requires that you create an
>> FSRef first; I think that I have posted code in the past to do so, or
>> you could try Thomas Reed's site, <http://www.bitjuggler.com/>, for
>> some code to do so.
>
> Yup, my Core Foundation classes should do this.
Thanks Charles and Thomas. You have pointed me in the right direction, what
I really need is CFURLCopyFileSystemPath:
Const kCFURLPOSIXPathStyle = 0
Const kCFURLHFSPathStyle = 1
Const kCFURLWindowsPathStyle = 2
Declare Function CFURLCopyFileSystemPath Lib "CarbonLib" (theURL As Integer,
PathStyle As Integer) As Integer
StringRef = CFURLCopyFileSystemPath(URLRef, kCFURLPOSIXPathStyle)
Thanks,
Knut
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|