Rein Klazes wrote:
Hi,
Girotel Offline creates 78 palette objects using 1044 bytes each. That doesn't fit on the 16bit gdi heap. It is not a leak: each object is freed when the program closes. Using NtObjects (www.smidgeonsoft.com) shows that under NT2K the program creates the same number of palette objects.
Changelog:
objects: gdiobj.c Allocate palette objects on the large gdi heap.
Rein.
--- wine/objects/gdiobj.c 2002-12-03 20:18:41.000000000 +0100 +++ mywine/objects/gdiobj.c 2003-01-19 14:09:46.000000000 +0100 @@ -693,6 +693,7 @@ case ENHMETAFILE_MAGIC: case ENHMETAFILE_DC_MAGIC: case BITMAP_MAGIC:
- case PALETTE_MAGIC: if (!(obj = alloc_large_heap( size, handle ))) goto error; break; }
SS2 was suffering the same problem and with your patch, it has gone. Great! :-) Thanks for the patch.
Christian.
PS: Does 16-bit apps that create palettes still work ?