User forums > General (but related to Code::Blocks)

Custom Icon woes, strange error

(1/1)

peripheralgames:
Hello,

Nice to meet you all on this forum. I have to ask this question because there was absolutely nothing online to help me. I am trying to get a custom icon to compile with my application.

I have made a .rc file and written in it:
--- Code: ---MAINICON ICON  "default.ico"
--- End code ---

I have added the .rc file to my project along with the default.ico file.

When I compile I get this: "default.ico: read of 2139880 returned 2139878"

I have never seen an error anything like this and I havent a clue what to do!

Thanks for your help
David

Navigation

[0] Message Index

Go to full version