News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

How to add .ico file into a win32 application

Started by nightload, January 24, 2010, 01:04:13 PM

Previous topic - Next topic

nightload

Hello everyone:
     I use codeblocks created a win32 application and i want to use .ico in this progect. How to ?? Thanks~~~

MortenMacFly

Quote from: nightload on January 24, 2010, 01:04:13 PM
Hello everyone:
     I use codeblocks created a win32 application and i want to use .ico in this progect. How to ?? Thanks~~~
You'll need to create a resource file (.rc) for that purpose which embeds the icon accordingly. The resource compiler will create a binary accordingly. Search with Google for "resource file ico". This is beyond the scope of this forum.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]