SFML community forums

Help => General => Topic started by: ravenheart on September 17, 2008, 08:25:55 pm

Title: Change Icon of *.exe
Post by: ravenheart on September 17, 2008, 08:25:55 pm
Hi how can i use another icon for my compiled .exe?
Title: Change Icon of *.exe
Post by: Laurent on September 17, 2008, 08:36:31 pm
It's OS-specific.
Title: Change Icon of *.exe
Post by: ravenheart on September 17, 2008, 09:47:24 pm
how does it work with windows?
Title: Change Icon of *.exe
Post by: Dig on September 17, 2008, 10:17:53 pm
Its also compiler specific I think, your IDE should have options for it or you can use reshack (http://www.angusj.com/resourcehacker/) to change it after its been compiled.
Title: Change Icon of *.exe
Post by: ravenheart on September 17, 2008, 11:56:14 pm
its a console-app, so reshack doesnt find anything

is there another possibility?
Title: Change Icon of *.exe
Post by: marox on September 18, 2008, 12:19:55 am
the universal method(all comilers, windows only) 8) :
add a file with rc as extension to tyour project, then this line:

Code: [Select]
1 ICON "your_ico.ico"then compile.
PS:use  SnIco Edit to create new icon, or , or Icon Sushi to extract it from an executable.
PS2: sorry for my english