http://bugs.winehq.org/show_bug.cgi?id=24522
Summary: CreateCompatibleDC( NULL ) crash Product: Wine Version: 1.2 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdi32 AssignedTo: wine-bugs@winehq.org ReportedBy: milasudril@gmail.com
Created an attachment (id=30955) --> (http://bugs.winehq.org/attachment.cgi?id=30955) Backtrace
When creating a DC compatible with the current screen wine crashes. To reproduce try this:
#include <windows.h>
int main() { HDC dc=CreateCompatibleDC(NULL);
DeleteDC(dc); }
It is supposed to create a DC compatible with the current screen. See
http://msdn.microsoft.com/en-us/library/dd183489%28VS.85%29.aspx