I am new to Mac programming. I have been trying to access the comments associated with files: I want to write a program that can remove a file name extension and put it in the file's comment, then return it to the file name at the user's command. I have had little success; I get -5012 and -37 errors from PBDTGetCommentSync(). Is there something special about that function? Is there a better way?
John Tanner