• 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: "M. Uli Kusterer" <email@hidden>
  • Date: Mon, 25 Aug 2003 12:32:31 +0200

At 1:11 Uhr -0600 25.08.2003, Jeff Nouwen wrote:
if (FSPathMakeRef ([theFilePath fileSystemRepresentation,&ref,NULL]) == noErr)

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
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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.
  • Follow-Ups:
    • Re: The resource fork
      • From: April Gendill <email@hidden>
References: 
 >Re: The resource fork (From: Jeff Nouwen <email@hidden>)

  • Prev by Date: Re: NSTableView does not show contents on startup
  • Next by Date: Re: NSTableView does not show contents on startup
  • Previous by thread: Re: The resource fork
  • Next by thread: Re: The resource fork
  • Index(es):
    • Date
    • Thread