Important: The information in this document is obsolete and should not be used for new development.
Modifying Resources
The Resource Manager provides two routines that change theresChangedattribute of a specified resource. TheChangedResourceprocedure allows you to indicate that a resource in memory has been changed, and theAddResourceprocedure allows you to add a new resource to a resource map.If the
resChangedattribute for a resource has been set and your application callsUpdateResFileor quits, the Resource Manager writes both the entire resource map and the resource data for that resource to the resource fork of the corresponding file on disk. If theresChangedattribute has been set and your application callsWriteResource, the Resource Manager writes only the resource's data to disk.
Subtopics
- ChangedResource
- AddResource