Jump to content

Error while trying to compile


Recommended Posts

Hey guys  :bye:

My pleasure to join this forum.

I am having a bit of problem compiling my script

So what i am trying to achive is to include a3x file.

The code works without being compiled.Here is the example

Main.au3

 

#include <functions.a3x>

msgbox(0,"Hello","Hello autoit")
msg()

 

Functions .a3x

 

 
func msg()
return msgbox(0,"Bye","Bye autoit")
endfunc

 

The code works if executed without being compiled

When i try to compile it , i am receiving an error :

Autoit2exe error

Line 1 ((filepath))

Some hex values

^ERROR

Error:Unable to parse line.

 

What could cause it ?  :

Link to comment
Share on other sites

Ok so i found the solution.The problem was im using an outdated Aut2exe ( 3.3.8.1 ).Now i can compile it.
The reason i was using such an old version is because the newest one compiles without icons and version info + 200KB larger without UPX option.I thought that was a bug.Also sometimes gives "Not Valid Win32 exe" error.Do you guys know what could cause that ? Or now its by default to be without icon , larger and no version infos

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