[Bug 12493] New: CreateCompatibleDC creates a compatible DC from everything

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Apr 10 17:00:34 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=12493

           Summary: CreateCompatibleDC creates a compatible DC from
                    everything
           Product: Wine
           Version: CVS/GIT
          Platform: Other
        OS/Version: other
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: gdi32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: mail at colinfinck.de


Under Wine, stuff like CreateCompatibleDC((HDC)123456) returns a valid DC
handle while this doesn't work under Windows.

This leads to a problem, when applications start to rely on this behaviour.
One app, which already does this, is your Wine Wordpad. It only works properly
under Wine, but not under Windows. It hangs there if you try to resize the
window.

So please fix this incorrect behaviour and also all apps affected by it.
I only know of Wine Wordpad, but maybe there are even more.


-- 
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