http://bugs.winehq.org/show_bug.cgi?id=7380
------- Additional Comments From xerox_xerox2000@yahoo.co.uk 2007-30-03 15:04 ------- Created an attachment (id=5566) --> (http://bugs.winehq.org/attachment.cgi?id=5566&action=view) A better test app.
This is a better test executable to show the problem. I explicitely pass in a bogus pointer:
SetDIBits(hDC, hBitmap, 0, 100, (BYTE*)0xcafecafe/*bogus*/, &bmpInfo, 0);
On wine this crashes, on windows this executable runs, showing a black square.
I'll try convert this into a proper test