Advanced Search
Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

Previous Book Contents Book Index Next

Inside Macintosh: More Macintosh Toolbox /
Chapter 1 - Resource Manager / Resource Manager Reference
Resource Manager Routines


Getting and Setting the Current Resource File

Most of the Resource Manager routines assume that the current resource file is the file on whose resource fork they should operate or, in the case of a search, the file where they should begin. In general, the current resource file is the last one whose resource fork your application opened unless you specify otherwise.

Two routines work specifically with the current resource file: CurResFile and UseResFile. The CurResFile function tells you which of the files whose resource forks are currently open is the current resource file. The UseResFile procedure sets the current resource file.

The HomeResFile function gets the file reference number associated with a particular resource.


Subtopics
CurResFile
UseResFile
HomeResFile

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996

Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2004 Apple Computer, Inc.
All rights reserved. | Terms of use | Privacy Notice