Sign in to follow this  
Followers 0
cooleko

AutoIt3Wrapper_icon causes lag and crashes in .exe

4 posts in this topic

Is there something wrong with my Icon?

My scripts run fine until i compile them with this (attached) Icon, then they lag or crash immediately on start up.

Morbol.ico

Share this post


Link to post
Share on other sites



It seems that Autoit does not like 96x96 icons. resizing them to 48x48 solves any problems

Share this post


Link to post
Share on other sites

Good to know.

I would expect Autoit shouldn't crash with such don't supported icons.

It should only set @error in apropriate icon function call and don't show such icon.

Maybe it can be considered as bug if it really crashes.

Post very small reproducing script.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

My Icons always contain the most important formats, then no crashes will occur :graduated:

- 256x256 png (for vista+)

- 64x64 32bit alpha

- 48x48 32bit alpha

- 32x32 32bit alpha

- 16x16 32bit alpha (Edit: only if different from 256 col version)

- 32x32 256 col

- 16x16 256 col

Edited by ProgAndy

*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

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