DllCall("UpdateResource" ...to replace a resource in an executable. This is doing fine, but it is not very fast, probably because the changes are written to disk in several steps.
Is there a way to make this faster? Or--a strange question: Is it possible to update a resource in a runnig executable?
EDIT: Later tests and discussion showed that the slowness is caused by Windows Defender, since two weeks or so!!! And WD is slowing down other AHK-associated operations too. New topic: https://autohotkey.com/boards/viewtopic.php?f=5&t=49615