icon for a console app

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
rrg
Posts: 41
Joined: Sun Nov 04, 2007 6:22 pm

icon for a console app

Post by rrg »

Hi i have been trying to figure out how to make a console app .exe have an icon. Right now it has the defualt icon for the .exe, but is there a way to set the icon to something else.

I'm using visual studio c++ express edition 2008.

thanks in advance for the help
--------------------------------------------------

For free games visit my website at
FunBox Games

---------------------------------------------------
Sylence
Posts: 725
Joined: Sat Mar 03, 2007 9:01 pm
Location: Germany
Contact:

Post by Sylence »

Yes and no.

In Visual Studio Standard and above you add an image to your project and it will set this image as the icon for the exe. However the Express Editions don't allow ressource editing. I don't know if the express editions come with the ressource compiler. If they do you can write the ressource file by hand. Using google and msdn should give you enough informtion on what should be in this ressource file.

If the ressource compiler is not included there isn't a nice way.
You could either use a different IDE/compiler for compiling the application or you could use a ressource manipulator after the linking to change the icon by hand.
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
rrg
Posts: 41
Joined: Sun Nov 04, 2007 6:22 pm

Post by rrg »

Ya there is no resource compiler to add the icon which is a shame.
thanks for the reply.
--------------------------------------------------

For free games visit my website at
FunBox Games

---------------------------------------------------
Virion
Competition winner
Posts: 2148
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

maybe you cna try resource hacker
Post Reply