Author Topic: How to add .ico file into a win32 application  (Read 4045 times)

nightload

  • Guest
How to add .ico file into a win32 application
« 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~~~

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9702
Re: How to add .ico file into a win32 application
« Reply #1 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ