Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: resource question



On Friday, May 30, 2003, at 11:34 AM, Bob Sabiston wrote:

I am trying to retrieve a resource from a preferences file, after setting UseResFile(). UseResFile returns with no error, and my resource is retrieved just fine. The problem is, that resource isn't *actually in* the preferences file. [snip]
So where else could the resource manager be finding this resource?

Are you using GetResource or Get1Resource? Get1Resource restricts itself to the "CurResFile" resource file, while GetResource will walk the rest of the resource chain if it doesn't find it there.

steve
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.

References: 
 >resource question (From: Bob Sabiston <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.