• 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: Project Builder Eating Resource Files..?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Project Builder Eating Resource Files..? (From: John Pattenden <email@hidden>)

  • Prev by Date: Re: Project Builder Eating Resource Files..?
  • Next by Date: Re: How to mount an iDisk?
  • Previous by thread: Re: Project Builder Eating Resource Files..?
  • Next by thread: One of those questions
  • Index(es):
    • Date
    • Thread