[Bug 24522] New: CreateCompatibleDC( NULL ) crash

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Sep 26 03:52:41 CDT 2010


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 at winehq.org
        ReportedBy: milasudril at 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

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list