Updates a resource in executable file (dll or exe).
OutputVar := ResPutFile(FilePath, Executable, Name , Type, Language)Function Example: Success := ResPut(A_ScriptDir "\MyFile.txt", A_ScriptDir "\MyDll.dll", "MYRESOURCE")
The name of the variable in which to store true / 1 if resource was written and false / 0 otherwise.
File to be included in resources.
Path to the executable file (dll or exe).
The name of resource.
Type of resource. Default is RCDATA (10).
See MSDN for default resource types.
The language of resource, default 1033.
If you wish to compress or encrypt your data you can use ZipFileRaw.
ResGet, ResPutFile, ResExist, ResDelete, ResDllCreate, UnZipRawMemory
ResPutFile(A_ScriptDir "\MYRES.RES", "MyExecutable.exe", "MYRES.RES")