http://support.microsoft.com/kb/139165 via http://forums.codegu...SetBitmapBits()
Now Solved.
Edit:
Actually the solution will be in this case: (the correct Win32 API call procedures to get ilutWinLoadImage to work)
hdc = GetDC(NULL); // or: hdc = l_hWndDC; hdcMem = CreateCompatibleDC(hdc); hBitmap = ilutWinLoadImage(L"TheImage.bmp",hdc); // <-- a HDC retrieved by GetDC of your destination DC, Not by CreateCompatibleDC. SelectObject(hdcMem, hBitmap); BitBlt(l_hWndDC,100,100,240,40,hdcMem,0,0,SRCCOPY); // And don't forgetting to release and delete the respective HDC's when done with them.