Compiler not using icon for exe?

Working on new editor enhancements?
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Compiler not using icon for exe?

Post by IdeasVacuum »

v4.51 RC1 x64, Win7 64.

When I create an exe, my icon file is not used (at least, not displayed by Windows Explorer). Works fine every time with x86 WinXP 32. Anyone else hit this issue?
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
Vera
Addict
Addict
Posts: 858
Joined: Tue Aug 11, 2009 1:56 pm
Location: Essen (Germany)

Re: Compiler not using icon for exe?

Post by Vera »

Hi,

well I don't have Win7 but I guess it might be due to the icon format. Maybe your icon misses that Vista/Win7 compressed png-format or doesn't contain the correct sorting?
Did you test your compilation with an icon that surly works on Win7 x64?

Anyway I'd like to suggest a fine small tool to you: ToYcon to easily convert and test your current icon.

greetings ~ Vera
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Compiler not using icon for exe?

Post by IdeasVacuum »

Hi Vera

Excellent advice thank you - The icon was correctly defined for Win7 x64 and contrary to what I thought, it actually had worked............what happens is that WinXP 32bit cannot display it :oops: my bad

I use Icon Cool to define my icons but I downloaded ToYcon to try it out. Very impressive indeed, it really does a good job and it certainly couldn't be easier to use.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: Compiler not using icon for exe?

Post by blueznl »

I just switched to IcoFX. Seems to do the job as well.
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Post Reply