Re: [GD-Windows] Nasty GUI bug
Brought to you by:
vexxed72
From: Pierre T. <p.t...@wa...> - 2002-10-11 15:26:37
|
> Erm... IIRC, the GetDeviceCaps call of many drivers scribbles past the area > you give it. So allocate a much bigger buffer (I used 4k extra and didn't > have any further problems). > > Maybe this is a similar or related problem? I'll just use a bigger structure indeed, but that's evil. BTW I forgot to set the dmDriverExtra member to 0, but it doesn't fix the bug anyway (memory still gets overwritten). Pierre |