ResExist

Check whether resource exists in the executable file (dll or exe).

OutputVar := ResExist(Executable, Name , Type, Language)
Function Example: Exist := ResExist(A_AhkPath, "MYRESOURCE")

Parameters

OutputVar

The name of the variable in which to store true / 1 if the resource 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)

Language of resource. Default is 1033.

Related

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

Example

If ResExist(A_AhkPath,"RESEXIST.AHK","LIB")
  MsgBox "ResExist.ahk is included in resource library."