[lazarus] TPaintStruct size

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Jul 2 07:59:24 EDT 2003


On Wed, 2 Jul 2003 12:50:07 +0200
"Micha Nelissen" <mdvpost at hotmail.com> wrote:

> Mattias Gaertner wrote:
> > On Wed, 2 Jul 2003 11:06:51 +0200 (W. Europe Daylight Time)
> > Michael Van Canneyt <michael.vancanneyt at wisa.be> wrote:
> >
> >>
> >>
> >> On Wed, 2 Jul 2003, Micha Nelissen wrote:
> >>
> >>> Hi,
> >>>
> >>> Can someone check the size of the TPaintStruct structure? My guess
> >>> is that it is too short, causing BeginPaint to overwrite stack data
> >>> of other variables leading to garbage.
> >
> > Fixed TPaintStruct.
> > Maybe there are some other mistyped records too. Only the win32
> > interface can tell.
> 
> Great! The memory leak has been closed now. Previous patches of which I
> was doubtful (due to that memory leak), can be applied now.

Which patches?

Mattias






More information about the Lazarus mailing list