ResDelete()

Auto Hotkey

ResDelete

Deletes a resource in executable file (dll or exe).

OutputVar := ResDelete(Executable, Name , Type, Language)
Command  Example: ResDelete A_AhkPath, "MYRESOURCE"
Function Example: success := ResDelete(A_AhkPath, "MYRESOURCE")

Parameters

OutputVar

The name of the variable in which to store true / 1 if resource was deleted or does not exist or false / 0 otherwise.

Executable

Path to the executable file (dll or exe).

Name

The name of resource.

Type (optional)

Type of resource. Default is RCDATA (10).
See MSDN for default resource types.

Language (optional)

Resource language, default 1033 (en-us).

Related

ResPut,ResGet, ResPutFile, ResExist, ResDelete, ResDllCreate, UnZipRawMemory

Example

ResDelete(A_AhkPath,"MYRESOURCE")