User forums > Using Code::Blocks

How to add .ico file into a win32 application

(1/1)

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~~~

--- End quote ---
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.

Navigation

[0] Message Index

Go to full version