AutoHotkey Community

It is currently May 27th, 2012, 2:47 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: compiling
PostPosted: November 25th, 2009, 2:19 am 
Offline

Joined: November 25th, 2009, 2:15 am
Posts: 2
Location: Fairbanks, AK
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 25th, 2009, 3:06 am 
close the running program before compiling
or move the script to another directory to compile :arrow:


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: November 25th, 2009, 3:13 am 
Offline

Joined: June 28th, 2007, 1:08 am
Posts: 662
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 25th, 2009, 3:20 am 
Offline

Joined: February 17th, 2008, 7:09 am
Posts: 536
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 25th, 2009, 3:42 am 
Offline

Joined: November 25th, 2009, 2:15 am
Posts: 2
Location: Fairbanks, AK
thanks, i disabled avg and it worked. ..is it necessary to compile before running btw?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 25th, 2009, 3:45 am 
Offline

Joined: June 28th, 2007, 1:08 am
Posts: 662
It is only required if you wish to run the script on a system that does not have AHK installed.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: rbrtryn, XstatyK and 23 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Group