After working with other compilers that easily let you select the desired icon prior to compiling the executable, I wondered how the same could be acheived with Code::Blocks 12.11. I stumbled across a forum on Daniweb, where Duoas covered the basics. Yet, no matter what I cannot get it to compile, despite following his suggestion that I ensure the correct compiler settings.
Thanks giblit. Now, the executable has the desired icon, but remains generic looking within the title bar and on the taskbar. Apparently unlike a header, which you add to the project and also include as I did on line 2, apparently simply adding the rc file alone is enough, but only applies to the executable viewed within Windows Explorer itself.
But I still get a blank, generic looking icon on program execution. It does not seem to matter whether it is a console based application or not, either. I had the same results applying this to a simple SFML based program I made.
How can I get my executable to show up in the title bar, or on the taskbar when active? I realize this may not even be possible in the console (and don't really care), but shouldn't it possible otherwise? Perhaps I need to look into SFML further, as I am fairly new to it. I've also been studying Win32API, but I've been overloaded lately and haven't gotten very far.