TradeMUX SDK Documentation  1.0
TradeMUX SDK Documentation
bool ResourceFree ( string  resource_name)

Deletes dynamically created resource (freeing the memory allocated for it).

Parameters
resource_nameResource name.
Returns
True if successful, otherwise false. To get information about the error, call the GetLastError() function.

Note: ResourceFree() allows application developers to manage memory consumption when actively working with resources. Graphical objects bound to the resource being deleted from the memory will be displayed correctly after its deletion. However, newly created graphical objects (OBJ_BITMAP and OBJ_BITMAP_LABEL) will not be able to use the deleted resource. The function deletes only dynamic resources created by the program.