Le 1 avr. 2010 à 19:54, gMail.com a écrit :
> Hi,
> I want to copy all the folder's attributes, so instead of using the Cocoa
> API I have to use FSSetCatalogInfo. This requires an FSRef, so I use
> FSPathMakeRef or FSPathMakeRefWithOptions, e.g.
>
> err = FSPathMakeRefWithOptions((UInt8*)cSrcPa
Hi,
I want to copy all the folder's attributes, so instead of using the Cocoa
API I have to use FSSetCatalogInfo. This requires an FSRef, so I use
FSPathMakeRef or FSPathMakeRefWithOptions, e.g.
err = FSPathMakeRefWithOptions((UInt8*)cSrcPath,
kFSPathMakeRefDoNotFollowLeafSymlink, &srcRef, NULL);