Re: Project Builder Eating Resource Files..?
Re: Project Builder Eating Resource Files..?
- Subject: Re: Project Builder Eating Resource Files..?
- From: Chad J McQuinn <email@hidden>
- Date: Mon, 25 Feb 2002 02:06:16 -0500
On 2/24/02 11:39 PM, "John Pattenden" <email@hidden> wrote:
>
I have a resource file with resources in the traditional resource
>
fork in my cocoa project, it looks like when I build the project the
>
resources get dumped in the data fork of a file with the same name.
>
Which should be ok except that when I call FSOpenResFile i get -1
>
back, which says there is no resource fork
You can either change your ProjectBuilder settings to preserve the resource
fork, or you can replace FSOpenResFile with:
* FSOpenResourceFile()
*
* Summary:
* Opens the specified named fork as a resource fork.
*
* Discussion:
* This function allows any named fork of a file to be used for
* storing resources. Passing in a null forkname will result in the
* data fork being used.
(From Resources.h)
-Chad
_______________________________________________
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.