Originally posted by: Rodolfo Maspoch
The compatible DC are not being deleted.
Fix:
At the end of the function:
......
ReleaseDC (NULL, hDC);
// Release the DC's
DeleteDC (hMemDC);
DeleteDC (hMonoDC);
DeleteDC (hColorDC);
return hbmResult;
}
Hope that will do it.
Reply