Ah ok, you need to move
HDC hdc;
HBITMAP hBitmap;
to be global so move them under
HWND ghWnd_Hello;