Quote: void GamePaint(HDC hDC) { HPEN hBluePen = CreatePen(PS_SOLID, 1, RGB (0,0,255)); HPEN hPen = SelectObject (hDC, hBluePen); Rectangle (hDC, 16, 36, 72, 70); SelectObject (hDC, hPen); DeleteObject (hDC, hBlue Pen); }and Dev-Cpp returns these errors:
Quote: C:\Dev-Cpp\New Folder\Practice.cpp In function `void GamePaint(HDC__*)': 53 C:\Dev-Cpp\New Folder\Practice.cpp invalid conversion from `void*' to `HPEN__*' 56 C:\Dev-Cpp\New Folder\Practice.cpp `hBlue' undeclared (first use this function) (Each undeclared identifier is reported only once for each function it appears in.) C:\Dev-Cpp\Makefile.win [Build Error] ["New Folder/Practice.o"] Error 1I am not really sure what those mean. Any help?