Re: Hidden file and 64bits Cocoa

2010-08-23 Thread Olivier Tristan
You guys just made my day. Thanks, On Mon, Aug 23, 2010 at 10:56 PM, James Walker wrote: > On 8/23/2010 6:57 AM, Olivier Tristan wrote: > >> I'm looking for a way to get the hidden attribute of a file using cocoa >> as my applications is going to be ported to 64bits. >> I've took a look to NSFi

Re: Hidden file and 64bits Cocoa

2010-08-23 Thread James Walker
On 8/23/2010 6:57 AM, Olivier Tristan wrote: I'm looking for a way to get the hidden attribute of a file using cocoa as my applications is going to be ported to 64bits. I've took a look to NSFileManager and it do not seems to provide such facility. I used to do this |FSRef ref; OSStatus err =

Re: Hidden file and 64bits Cocoa

2010-08-23 Thread Greg Parker
On Aug 23, 2010, at 6:57 AM, Olivier Tristan wrote: > I'm looking for a way to get the hidden attribute of a file using cocoa as my > applications is going to be ported to 64bits. > I've took a look to NSFileManager and it do not seems to provide such > facility. > > I used to do this > > |FSRe

Hidden file and 64bits Cocoa

2010-08-23 Thread Olivier Tristan
Hi, I'm looking for a way to get the hidden attribute of a file using cocoa as my applications is going to be ported to 64bits. I've took a look to NSFileManager and it do not seems to provide such facility. I used to do this |FSRef ref; OSStatus err = FSPathMakeRefWithOptions(path, kFSPath