Jump to content

Compiling error: Unable to add resources


tk1
 Share

Recommended Posts

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 by tk1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...