Jump to content
Sign in to follow this  
pvodoz

Compilation for 32 AND 64 bits sytems

Recommended Posts

pvodoz

Hi Guys,

I'm a really noob in development but have already written and compiled few scripts with AutoIt.

However, I would like to know what is the exact wrapper directives to have or other actions to do, to have a fully 32 AND 64 bits compliant executable.

Indeed, my executable will have to be launched from Windows XP or Win7 32bits or Win7 64 bits...

Can you help me?

Thanks!

Share this post


Link to post
Share on other sites
pvodoz

Though I made such a nice Helpfile that contains all that stuff .... :)

So I think I'm really bad becasue I didn't find a single specific topic on that point.

Moreover, I have absolutely no skills in developpment....

Jos, just tell me where I can read your bible on that topic!!! :)

And just to be sure of your understanding, I want to have a single executable binary, compliant with 32 and 64 bits Windows systems. :mellow:

Edited by pvodoz

Share this post


Link to post
Share on other sites
Jos

Ctrl+F1 or "Help"/"SciTE Help" in SciTE will open the SciTE4AutoIt3 helpfile.

Go to the Topic "Extra Utilities"\AutoIt3Wrapper.

Jos :mellow:

Edited by Jos

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

Share this post


Link to post
Share on other sites
Zedna

And just to be sure of your understanding, I want to have a single executable binary, compliant with 32 and 64 bits Windows systems. :mellow:

Add this at top of your script

#AutoIt3Wrapper_UseX64=n

and compile it from full Scite4Autoit3 by F7

Result will be 32bit EXE which will work well on all 32/64 bit machines.

Share this post


Link to post
Share on other sites
pvodoz

Add this at top of your script

#AutoIt3Wrapper_UseX64=n

and compile it from full Scite4Autoit3 by F7

Result will be 32bit EXE which will work well on all 32/64 bit machines.

Thank you Zedna!

It seems to work but I would like to understand the differnece between F7 from full Scite4Autoit3 and using the software "Compile Script to .exe".

When using "Compile Script to .exe", the generated exe has not the same size than with F7 from full Scite4Autoit3 and it doesn't work... :mellow:

Final question, is there any way to choose the exe icon with the F7 method?

Thank you for your help!!!

Share this post


Link to post
Share on other sites
pvodoz

Final question, is there any way to choose the exe icon with the F7 method?

Thank you for your help!!!

Found!!

Using the following line:

#AutoIt3Wrapper_icon=your_icon.ico :mellow:

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  

×