funkey 128 Posted February 4, 2012 (edited) I have one script that makes this error on compiling: Error: Failed to append script data to end of updated executable. Try recompiling your script.rc:2 Not always, but on most of the tries. Is this a bug? #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #include <Array.au3> Edit: I use Win7 x64, compile as x86. Edit2: Maybe it has something to do with that 'asInvoker' automaticaly set by the AutoIt3Wrapper Edit3: It has nothing to do with the script itself, so I replaced it with something generating the same fault. If I delete the 'asInvoker' line then compiling works one time. The Wrapper adds the line again and next time compiling fails again, but not always!? Edited February 4, 2012 by funkey Programming today is a race between software engineers striving tobuild bigger and better idiot-proof programs, and the Universetrying to produce bigger and better idiots.So far, the Universe is winning. Share this post Link to post Share on other sites
UEZ 1,265 Posted February 4, 2012 (edited) I've no problems with compliling the code on Win7 x64 several times. Maybe a program (Antivirus) is blocking compilation... Br, UEZ Edited February 4, 2012 by UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Share this post Link to post Share on other sites
funkey 128 Posted February 5, 2012 I think you are right. If I deactivate AntiVir Guard, then it works. But I get no message from AntiVir!? Programming today is a race between software engineers striving tobuild bigger and better idiot-proof programs, and the Universetrying to produce bigger and better idiots.So far, the Universe is winning. Share this post Link to post Share on other sites
AdmiralAlkex 125 Posted February 5, 2012 I think you are right. If I deactivate AntiVir Guard, then it works. But I get no message from AntiVir!?Nor would I expect that. It's probably locking the file to scan it directly when it's created, but as the compiling process needs write access it fails. A side effect of having multiple processes to compile 1 script.Happens me sometimes with Dropbox, but if I try to compile a second time it works. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Share this post Link to post Share on other sites