Hello,
I have problem with this code:
and the problem is that assert m_hBitmap == 0 fails.Code:CImage tmpImg; HRESULT hResult = tmpImg.Load(L"C:\\img-1.gif"); tmpImg.Create(tmpImg.GetWidth(), tmpImg.GetHeight(), tmpImg.GetBPP());
I just need to create real HBITMAP from CImage without casting (CImage:perator HBITMAP()).
Thank you for help!


perator HBITMAP()).
Reply With Quote

Bookmarks