Use ReleaseDC instead of DeleteDC on window handle. -------------- next part -------------- A non-text attachment was scrubbed... Name: header.diff Type: text/x-patch Size: 269 bytes Desc: not available Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050726/8cf03344/header.bin