Re: The resource fork
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.