Jump to content
Sign in to follow this  

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



#include <functions.a3x>

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


Functions .a3x


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


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:Unable to parse line.


What could cause it ?  :

Share this post

Link to post
Share on other sites

Does it work correctly if you rename the include file to "functions.au3"?

Yep it does.Also works when its not compiled.While compiling giving an error.

Share this post

Link to post
Share on other sites

Ok so i found the solution.The problem was im using an outdated Aut2exe ( ).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

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.