• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Not getting filetype info from FSGetcatlogInfo() function
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Not getting filetype info from FSGetcatlogInfo() function (From: Elango C <email@hidden>)

  • Prev by Date: Re: Radix Cocoa Class: Int Binary Value to Char String Using Primitive Operators
  • Next by Date: Re: Radix Cocoa Class: Int Binary Value to Char String
  • Previous by thread: Re: Not getting filetype info from FSGetcatlogInfo() function
  • Next by thread: Storing a QTMovie in a keyed archive
  • Index(es):
    • Date
    • Thread