[lazarus] TPaintStruct size

Michael Van Canneyt michael.vancanneyt at wisa.be
Wed Jul 2 04:26:13 EDT 2003




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.
>
> Ie.: what is the size of a boolean in FPC and in WIN32?

Boolean      : 1
LongBool     : 4
WordBool     : 2
Windows Bool : 4

Michael.






More information about the Lazarus mailing list