Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: nightload on January 24, 2010, 01:04:13 pm

Title: How to add .ico file into a win32 application
Post by: 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~~~
Title: Re: How to add .ico file into a win32 application
Post by: MortenMacFly on January 24, 2010, 01:45:19 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.