[lazarus] TPaintStruct size

Micha Nelissen mdvpost at hotmail.com
Wed Jul 2 06:23:18 EDT 2003


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.

Regards,

Micha.






More information about the Lazarus mailing list