You have a resource leak here: hbmap = CreateCompatibleBitmap(GetDC(0), rc.right - rc.left, rc.bottom - rc.top);. You should change to. HDC hdc = GetDC(0); ...
確定! 回上一頁