Jump to content

Aut2Exe Compiling with #include files


Recommended Posts

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?

Link to comment
Share on other sites

  • Developers

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

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

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
Link to comment
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.

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...