Article # 431, added by Geoworks, historical record
| first | previous | index | next | last |

Freeing duplicate object resources.



Q. What is the technical reason for why ObjFreeObjBlock cannot be
   used on duplicated resources (and ObjFreeDuplicate must be used
   instead)?

A. ObjFreeObjBlock is a higher-level routine -- it performs various
   queue-flushing operations, and eventually calls ObjFreeDuplicate
   (if the block is a duplicate block). Thus you can use ObjFreeObjBlock
   in place of ObjFreeDuplicate. Another option is to send
   MSG_META_BLOCK_FREE to an object in the block.