Re: Open Resource File with Cocoa Path
Re: Open Resource File with Cocoa Path
- Subject: Re: Open Resource File with Cocoa Path
- From: Nicholas Riley <email@hidden>
- Date: Wed, 10 Apr 2002 16:47:30 -0500
- Mail-followup-to: Donald Brown <email@hidden>, Cocoa dev <email@hidden>
On Wed, Apr 10, 2002 at 01:54:21PM -0500, Donald Brown wrote:
>
I need to be able to import data from a legacy file, and it includes some
>
data in a resource. Anyone have any code to open a resource file?
>
>
As near as I can tell, I have to parse the path myself, calling
>
FSMakeFSRefUnicode on each portion to build up an FSRef, which I pass to
>
FSpOpenResFile. It can't be that screwy, can it?
FSPathMakeRef?
--
=Nicholas Riley <email@hidden> | <
http://www.uiuc.edu/ph/www/njriley>
Pablo Research Group, Department of Computer Science and
Medical Scholars Program, University of Illinois at Urbana-Champaign
_______________________________________________
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.