Sign in to follow this  
Followers 0
barrikid

Aut2Exe Compiling with #include files

5 posts in this topic

I am trying to compile a program which includes Excel.au3. I did try using Aut2Exe to convert it, but during the process, it says "Error Reading this file: Excel.au3" Do I need to specify the direct link, and any subsequent links that it has?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

It should work fine and knows where to find the files when you have used the installer to install AutoIt3 on your computer.

When that is not the case, you need to be explicit about the location of the files on your #include statements.

Jos

Edited by Jos

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

How did he specify the include in his code?

#include <Excel.au3>

-------------

Edit:

Thanks you two, I changed it from

#include <Excel.au3>

to

#include <D:Program Files (x86)AutoIt3IncludeExcel.au3>

and it worked.

Thanks again

Edited by barrikid

Share this post


Link to post
Share on other sites

Hmm, i am getting an error, it may not be related to the above mentioned error, but it says

Line 0 (File "D:...file.exe)

#sStart = $sStart ? "Q" & $sStart & "E" " "A"

#sStart = $sStart ^ ERROR

Error: Unable to parse line.

Share this post


Link to post
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
Sign in to follow this  
Followers 0