No subject


Tue Aug 30 15:00:21 CDT 2005


passing a *pointer* to the value for height, instead of the height.  It also
looks like it is a Quicken bug, and not related to Wine.  The only way I can
figure that it *could* be related to Wine is if one of the WINPROC_* calls was
screwing something up, which seems unlikely, based on the backtrace, and the
fact that seemingly nothing would work if any of these were the culprit.

I would have changed this bug entry's resolution to INVALID, except that (a) I
wouldn't mind a more knowledgeable (of Wine, Win API, and C) person to verify my
findings, and, more importantly, (b) it seems to me that Windows would be
handling this scenario differently than Wine (or Intuit/Quicken would have some
customer relations problems due to frequent crashes) - should Wine do something
different when the parameters are out of whack?  The only thing I can see on
MSDN under CreateCompatibleBitmap is "Windows 95/98/Me: The created bitmap
cannot exceed 16MB in size."

Which I guess brings up another point...  dlls/gdi/bitmap.c's
CreateCompatibleBitmap shows the aforementioned fixme message if the width or
height exceeds 0x10000, and no bitmap is returned.  This seems wrong to me on
three counts: (1) MSDN states that if either width or height is zero, a 1x1
monochrome bitmap is returned (in my case the height was 0, but the width was
"huge", so a 1x1 bitmap should be returned); (2) a 0x11000 by 0x2 bitmap is
within the (more restrictive Win95) 16 MB limit and should be valid; and (3) Win
NT/2000/XP do not seem to have any restriction on a bitmap's size (except
physical and paged memory constraints), so at least in theory, any values for
width and height are "valid".

Thoughts?  Comments?

Carl

P.S., This is using the CVS from yesterday (4/27/05) afternoon.
P.P.S.,  If it would help, I could do the WINEDEBUG=+relay,+bitmap.  I have the
disk space, and the time.  Let me know...

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list