doyle.jack Posted March 3, 2005 Posted March 3, 2005 I have a question about compiling scripts and using includes. If I have a script that has included au3 files and I compile it, will it compile those included files into the exe or will they still need to exist when running the script as an executable? i.e I have script.au3 and include.au3 is included in it. I compile script.au3 to script.exe. When I run it, does it still require include.au3 to exist, or has that become part of script.exe?
SlimShady Posted March 3, 2005 Posted March 3, 2005 When compiling all the files needed will be imported into the final executable. Those files are from #include <...> and FileInstall() When you compile and the needed files do NOT exist, the compilation will fail. And you will see an error message.
golfjrr Posted March 3, 2005 Posted March 3, 2005 I have a question about compiling scripts and using includes.If I have a script that has included au3 files and I compile it, will it compile those included files into the exe or will they still need to exist when running the script as an executable?i.e I have script.au3 and include.au3 is included in it. I compile script.au3 to script.exe. When I run it, does it still require include.au3 to exist, or has that become part of script.exe?<{POST_SNAPBACK}>Yea the compiled executables will run anywhere. Doesn't even required autoit to be installed on the computer.
stev379 Posted March 3, 2005 Posted March 3, 2005 (edited) Compile a script with an include file, then decompile it and take look at the script again. Edited March 3, 2005 by stev379
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