< Futurebasic < Language < Reference

DEF CHANGEDRESOURCE Statement

DEF CHANGEDRESOURCE

Statement

✔ Appearance ✔ Standard ✔ Console

Syntax

DEF CHANGEDRESOURCE(rHndl&)

Revised

August, 2002 (Release 7)

Description

There are probably more potential problems in dealing with the Resource Manager than any other part of the Mac toolbox. One bug in the manager's code is that every time a resource is marked as changed, space is reserved on the disk for a new version without removing any previous requests. So if you change a resource 100 times, then space will be reserved on your hard drive for 100 copies. This becomes a problem because the file size and the number of resources allowed in a single file is finite.

This procedure will only mark a handle as changed (a) it is a resource handle and (b) it is not already flagged as a changed resource.

See Also

USR REPLACERESOURCE; USR OPENRFPERM

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.