Ok the error says:
ANSI C++ forbids implicit conversion from `void *' in initialization
I have no idea wtf that means, and if you can help me, heres the paint part:
Code:
case WM_PAINT:
{
BITMAP bm;
PAINTSTRUCT ps;
HDC hdc = BeginPaint(hwnd, &ps);
HDC hdcMem = CreateCompatibleDC(hdc);
[b]HBITMAP hbmOld = SelectObject(hdcMem, g_hbmBall);[b]
GetObject(g_hbmBall, sizeof(bm), &bm);
BitBlt(hdc, 0, 0, bm.bmWidth, bm.bmHeight, hdcMem, 0, 0, SRCCOPY);
SelectObject(hdcMem, hbmOld);
DeleteDC(hdcMem);
EndPaint(hwnd, &ps);
}
break;