DetachResource
To prevent resource from being discarded when file is closed, use the DetachResource method.
DetachResource (h as Handle)
rHandle existing, valid handle to a resource.
Description:
DetachResource removes a resource handle from the resource map without releasing it from memory. this can be used to keep one or more resources in memory after closing the resource file.
rHandle is a Handle leading to any type of resource where its value has been obtanied via GetResource, GetPicture, GetIcon, etc.
Supported platforms:
* MacOS PPC
* MacOS Carbon
Unsupported platforms:
* Windows x86