Futurebasic/Language/Reference/def changedresource
DEF CHANGEDRESOURCE Statement
[edit | edit source]DEF CHANGEDRESOURCE
[edit | edit source]Statement
[edit | edit source]✔ Appearance ✔ Standard ✔ Console
Syntax
[edit | edit source]DEF CHANGEDRESOURCE(rHndl&)
Revised
[edit | edit source]August, 2002 (Release 7)
Description
[edit | edit source]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
[edit | edit source]USR REPLACERESOURCE; USR OPENRFPERM