I'm trying to change the icon in the corner of my window, and I'm
having trouble. I'm using Dev-C++, and I noticed it created this .RC
file for me when I specified that I wanted to use a "Game" icon for the
program itself. It contains this:
/* THIS FILE WILL BE OVERWRITTEN BY DEV-C++ */
/* DO NOT EDIT! */
A ICON MOVEABLE PURE LOADONCALL DISCARDABLE "reversi.ico"
So, I tried changing the icon for the window like so:
WNDCLASS wc;
wc.hIcon = LoadIcon (hInstance, "reversi.ico");
It doesn't seem to work. Anyone know what's up?