Tuesday, July 14, 2009

Adding An Icon To a C++ File?

I wrote a file in Visual Studio 2008 it was a win32 project, and empty.





How Can i add an icon (.ico) to the .exe file i compiled?





I alrdy have an .ico file.





Thanks in advance.

Adding An Icon To a C++ File?
Move your .ico file into the \res folder of your project.





Open the resource viewer. Right click on your project (or open the icon folder). Add item, existing item, pull down the extension so ".ico" or "*" is selected. Click on your .ico file.





It is now added to your project. Hope that helps.


No comments:

Post a Comment