ResourceSave
ResourceSave
Saves a resource into the specified file.
bool ResourceSave(
const string resource_name, // Resource name
const string file_name // File name
);Parameters
- resource_name
[in] The name of the resource, must start with “::”.
- file_name
[in] The name of the file relative to MQL4\Files.
Return Value
true – in case of success, otherwise false. For the error information call GetLastError().
Note
The function always overwrites a file and creates all the required intermediate directories in the file name if necessary.
See also
Resources, ObjectCreate(), PlaySound(), ObjectSetString(), OBJPROP_BMPFILE
Last updated on