| View previous topic :: View next topic |
| Author |
Message |
amdrunner
Joined: 25 Nov 2009 Posts: 2 Location: Fairbanks, AK
|
Posted: Wed Nov 25, 2009 1:19 am Post subject: compiling |
|
|
Everytime i try to compile the script, it says: Error: Error opening destination file
..i thought it was a vista thing, so i tried it on XP and it did the exact same thing. |
|
| Back to top |
|
 |
Guest
|
Posted: Wed Nov 25, 2009 2:06 am Post subject: |
|
|
close the running program before compiling
or move the script to another directory to compile  |
|
| Back to top |
|
 |
Elesar
Joined: 28 Jun 2007 Posts: 622 Location: Somewhere around 35 12N 101 49W
|
Posted: Wed Nov 25, 2009 2:13 am Post subject: |
|
|
I also get this on Vista, 7, and XP, but it is due to AVG Free, I can compile just fine with AVG disabled or on a system without real time virus protection.
Having the script running while trying to compile it will sometimes result in this, but I get it 100% of the time with AVG running and NO ahk scripts running. |
|
| Back to top |
|
 |
rtcvb32
Joined: 17 Feb 2008 Posts: 289
|
Posted: Wed Nov 25, 2009 2:20 am Post subject: |
|
|
| Also I've had trouble before where i tried to replace a EXE file and kept having trouble. To fix that, close the ahk2exe and manually delete the unwanted EXE before trying again. Though more often than not it was due to AVG of some kind. Sometimes it will work better if you remove UPX from the compiling directory, as that will just keep it from being compressed and will not effect the final executable. |
|
| Back to top |
|
 |
amdrunner
Joined: 25 Nov 2009 Posts: 2 Location: Fairbanks, AK
|
Posted: Wed Nov 25, 2009 2:42 am Post subject: |
|
|
| thanks, i disabled avg and it worked. ..is it necessary to compile before running btw? |
|
| Back to top |
|
 |
Elesar
Joined: 28 Jun 2007 Posts: 622 Location: Somewhere around 35 12N 101 49W
|
Posted: Wed Nov 25, 2009 2:45 am Post subject: |
|
|
| It is only required if you wish to run the script on a system that does not have AHK installed. |
|
| Back to top |
|
 |
|