star2 Posted January 13, 2008 Share Posted January 13, 2008 well for example after compiling a script witch has a UDF included like XSkin if I run the compiled exe file, and the XSkin.au3 was not in the same directory or in the include dir it gives me an error? what's wrong? [quote]Baby you're all that I want, When you're lyin' here in my armsI'm findin' it hard to believe, We're in heavenAnd love is all that I need , And I found it there in your heartIt isn't too hard to see, We're in heaven .Bryan Adams[/quote].............................................................................[u]AUTOIT[/u] Link to comment Share on other sites More sharing options...
crzftx Posted January 13, 2008 Share Posted January 13, 2008 (edited) question:well for example after compiling a script witch has a UDF included like XSkinif I run the compiled exe file, and the XSkin.au3 was not in the same directory or in the include dir it gives me an error?what's wrong?answer:XSkin.au3 was not in the same directory or in the include dir(couldn't you simply use the full path if you refuse to put the script temporarily in the same directory or the include directory?) Edited January 13, 2008 by crzftx Link to comment Share on other sites More sharing options...
star2 Posted January 13, 2008 Author Share Posted January 13, 2008 (couldn't you simply use the full path if you refuse to put the script temporarily in the same directory or the inclue directory?)OoOoOI just want the compiled exe to work Independently so it can run on any other PC that doesn't have the .AU3 files !!! [quote]Baby you're all that I want, When you're lyin' here in my armsI'm findin' it hard to believe, We're in heavenAnd love is all that I need , And I found it there in your heartIt isn't too hard to see, We're in heaven .Bryan Adams[/quote].............................................................................[u]AUTOIT[/u] Link to comment Share on other sites More sharing options...
crzftx Posted January 13, 2008 Share Posted January 13, 2008 the compiled script will work anywhere else, #include puts the code from the include file into the code. Link to comment Share on other sites More sharing options...
star2 Posted January 13, 2008 Author Share Posted January 13, 2008 the compiled script will work anywhere else, #include puts the code from the include file into the code.well it didn't ! Obviously ! [quote]Baby you're all that I want, When you're lyin' here in my armsI'm findin' it hard to believe, We're in heavenAnd love is all that I need , And I found it there in your heartIt isn't too hard to see, We're in heaven .Bryan Adams[/quote].............................................................................[u]AUTOIT[/u] Link to comment Share on other sites More sharing options...
crzftx Posted January 13, 2008 Share Posted January 13, 2008 well it didn't ! Obviously ! check for typing errors, and post your code, since #include does include the code Link to comment Share on other sites More sharing options...
Valuater Posted January 14, 2008 Share Posted January 14, 2008 The "include" should work as it is included in the exe file, however, there maybe a problem with the pics and etc that is also needed. These need to be placed in the exe with FileInstall() 8) 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