Re: Accessing Classic Mac Resources from Cocoa
Re: Accessing Classic Mac Resources from Cocoa
- Subject: Re: Accessing Classic Mac Resources from Cocoa
- From: Finlay Dobbie <email@hidden>
- Date: Sat, 23 Feb 2002 11:41:53 +0000
On Saturday, February 23, 2002, at 01:58 AM, Charles Srstka wrote:
There's a function somewhere called FSPathMakeRef that will get you an
FSRef from a path. From there, you can get an FSSpec from the FSRef
somehow, I think.
There's a function in CFURL.h called CFURLCopyRef() or something that
returns the FSRef of a CFURL. Then you can create an FSSpec from the
FSRef quite easily, I forget the exact call. Then you can write a nice
obj-c wrapper around the resource manager and open source it! :-)
-- Finlay
_______________________________________________
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.