Hi again.
I've been goin' through the forgers tutorial over the past couple of days, and I have a question about the bitmap section.
Bitmap section of the Forgers tutorial.
I pretty much copied and pasted that into Dev-C++, but I got two errors I really don't understand.
I understand that I must declare stuff before using them, but what is the IDB part about ? Here's error two :Code:
Line : g_hbmBall = LoadBitmap(GetModuleHandle(NULL), MAKEINTRESOURCE(IDB_BALL));
Error for that line : IDB_BALL undeclared. (First use this function.)
Again, I understand what the error is saying, but haven't got a clue as to how to fix it. Is this code correct ? :confused:Code:
Line : HBITMAP hbmOld = SelectObject(hdcMem, g_hbmBall);
Error for that line : Invalid conversion from `void*' to `HBITMAP__*'
Thanks for any future replies.