Re: Not getting filetype info from FSGetcatlogInfo() function
Re: Not getting filetype info from FSGetcatlogInfo() function
- Subject: Re: Not getting filetype info from FSGetcatlogInfo() function
- From: Scott Ribe <email@hidden>
- Date: Fri, 06 Jan 2006 12:04:46 -0700
- Thread-topic: Not getting filetype info from FSGetcatlogInfo() function
> fileInfo = (FileInfo *) catalogInfo.finderInfo;
> fileInfo->fileType; // It has to return ICNS or APPL
Is the code posted your actual code? catalogInfo.finderInfo is a fileInfo,
***not*** a pointer to a fileInfo. So:
fileInfo = (FileInfo *) &catalogInfo.finderInfo;
fileInfo->fileType; // It has to return ICNS or APPL
--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 665-7007 voice
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden