[Bug 24522] CreateCompatibleDC( NULL ) crash

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Sep 26 16:37:23 CDT 2010


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

--- Comment #5 from Alexandre Julliard <julliard at winehq.org> 2010-09-26 16:37:22 CDT ---
CreateCompatibleDC(NULL) is OK, and works fine. It's used in many places in the
Wine code.

The problem is that a tiny sample app like your example doesn't import user32,
which is thus not initialized properly. It's arguably a bug, but not something
that's going to happen with any real app.

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