• 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: Open Resource File with Cocoa Path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Open Resource File with Cocoa Path


  • Subject: Re: Open Resource File with Cocoa Path
  • From: Andrew Pinski <email@hidden>
  • Date: Fri, 12 Apr 2002 00:10:48 -0400

Apple cannot change it any more _PATH_RSRCFORKSPEC is a constant that is stored in your app.
You should still use it because in the future you might forget what the hack `/..namedfork/rsrc' was for.

Thanks,
Andrew Pinski


On Thursday, April 11, 2002, at 01:32 , Andrew Mortensen wrote:

On Thu, 11 Apr 2002, Charles Srstka wrote:

I was told some time ago that it's better to use ..namedfork/rsrc than
/rsrc...

This is correct. See sys/paths.h. _PATH_RSRCFORKSPEC is defined as
"/..namedfork/rsrc". Use _PATH_RSRCFORKSPEC instead of the hardcoded path
in case Apple changes it.

andrew
_______________________________________________
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: Open Resource File with Cocoa Path
      • From: Andrew Mortensen <email@hidden>
  • Prev by Date: Re: cocoa-dev digest, Vol 2 #482 - 11 msgs
  • Next by Date: Re: Flash Player
  • Previous by thread: Re: Open Resource File with Cocoa Path
  • Next by thread: Re: Open Resource File with Cocoa Path
  • Index(es):
    • Date
    • Thread