assigning icon to an compiled executable

Questions regarding syntax

assigning icon to an compiled executable

Postby EasyCoder » Thu Mar 01, 2012 12:34 am

Hi All,

Is there a way to assign an icon image to a compiled binary. I can't see any option to do this.
On a mac, the default Kbasic icon is assigned to the binary. On windows no icon is assigned at all.

Any help would be appreciated.

Regards,
EasyCoder.
EasyCoder
 
Posts: 13
Joined: Tue Nov 22, 2011 7:09 pm

Re: assigning icon to an compiled executable

Postby berndnoetscher » Thu Mar 01, 2012 9:12 am

Hi

the exe file must be changed afterwards. use the tool resource hack

Resource Hacker is a freeware utility to view, modify, add, delete and extract resources in 32bit Windows executables. It incorporates an internal resource script compiler and decompiler and works on all 32 Bit Windows OS....
berndnoetscher
Site Admin
 
Posts: 1059
Joined: Tue Sep 25, 2007 9:37 am

Re: assigning icon to an compiled executable

Postby EasyCoder » Thu Mar 01, 2012 9:31 pm

berndnoetscher wrote:Hi

the exe file must be changed afterwards. use the tool resource hack

Resource Hacker is a freeware utility to view, modify, add, delete and extract resources in 32bit Windows executables. It incorporates an internal resource script compiler and decompiler and works on all 32 Bit Windows OS....


Thanks for the information.

What about the MAC version? This is what I realy need it for.
Currently the binary has the same icon as Kbasic. Is there any way to change this?

Regards,
EasyCoder.
EasyCoder
 
Posts: 13
Joined: Tue Nov 22, 2011 7:09 pm

Re: assigning icon to an compiled executable

Postby berndnoetscher » Mon Mar 05, 2012 12:51 pm

EasyCoder wrote:
berndnoetscher wrote:Hi

the exe file must be changed afterwards. use the tool resource hack

Resource Hacker is a freeware utility to view, modify, add, delete and extract resources in 32bit Windows executables. It incorporates an internal resource script compiler and decompiler and works on all 32 Bit Windows OS....


Thanks for the information.

What about the MAC version? This is what I realy need it for.
Currently the binary has the same icon as Kbasic. Is there any way to change this?

Regards,
EasyCoder.


Just replace the icns file in the folder and it should work.
berndnoetscher
Site Admin
 
Posts: 1059
Joined: Tue Sep 25, 2007 9:37 am


Return to Coding Questions

cron