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 theresChanged
attribute of a specified resource. TheChangedResource
procedure allows you to indicate that a resource in memory has been changed, and theAddResource
procedure allows you to add a new resource to a resource map.If the
resChanged
attribute for a resource has been set and your application callsUpdateResFile
or 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 theresChanged
attribute has been set and your application callsWriteResource
, the Resource Manager writes only the resource's data to disk.
Subtopics
- ChangedResource
- AddResource