tk1 Posted November 12, 2014 Share Posted November 12, 2014 (edited) I saw one other post from 2013 about this error when trying to compile a script, and the answer was to add the Aut2Exe folder to the exception list in your AV. For me, this did not fix the issue. ; ------- side note ------- I have perceived that there is a general move to start using #pragma statements rather than the ones put in by AutoIt3Wrapper, so I tried putting some in my script. (Maybe that perception is incorrect, and if so, please let me know!). ; ------- end side note ------- This caused the error: #pragma compile(Icon, \..\Files\Logo.ico) Take that leading backslash out and the adding resources error is gone: #pragma compile(Icon, ..\Files\Logo.ico) Maybe the 'adding resources' error is a general error to catch misc unhandled errors? Don't know, but thought I'd pass this along FWIW. tk1 Edited November 12, 2014 by tk1 Link to comment Share on other sites More sharing options...
Luigi Posted November 12, 2014 Share Posted November 12, 2014 I put this folder in AV exceptions too: C:\Users\UserName\AppData\Local\AutoIt v3 Visit my repository Link to comment Share on other sites More sharing options...
tk1 Posted November 12, 2014 Author Share Posted November 12, 2014 Thank you for the reply Detefon. The error had nothing to do with AV (at least in my case), and everything to do with an extra "". tk1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now