I try to change the attribute of file in SD card but fail. Here is my code :
err = VFSFileOpen(volRefNum, kExpansionKeyPathFilename, vfsModeReadWrite, &ref); err = VFSFileGetAttributes(ref, &value); value = value|vfsFileAttrHidden|vfsFileAttrSystem; err = VFSFileSetAttributes(ref, value); err = VFSFileClose(ref); It fails on VFSFileSetAttributes with error 0x0502. Pleaes help. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
