• 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: The resource fork
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The resource fork


  • Subject: Re: The resource fork
  • From: April Gendill <email@hidden>
  • Date: Mon, 25 Aug 2003 08:19:06 -0700

Execllent,
thank you very much

On Monday, August 25, 2003, at 03:32 AM, M. Uli Kusterer wrote:

Actually, this should be:

if (FSPathMakeRef ([theFilePath fileSystemRepresentation],&ref,NULL) == noErr)

(note the strategic placement of FSPathMakeRef()'s parameters outside the call to fileSystemRepresentation ;-)

BTW -- to be able to use these resource manager routines, you may have to include the Carbon framework in your application and #include <Carbon/Carbon.h>.

Nathan Day wrote a nifty NDResourceFork Cocoa class that wraps this and a lot more. There's also a Cocoa-based open-source project for writing a resource editor at http://resknife.sf.net
--
Cheers,
M. Uli Kusterer
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: The resource fork (From: "M. Uli Kusterer" <email@hidden>)

  • Prev by Date: Re: Help me, which book I should buy to learn Cocoa??
  • Next by Date: Re: Still can logout using keys when Apple menu disabled!
  • Previous by thread: Re: The resource fork
  • Next by thread: Still can logout using keys when Apple menu disabled!
  • Index(es):
    • Date
    • Thread