[lazarus] TPaintStruct size
Mattias Gaertner
nc-gaertnma at netcologne.de
Wed Jul 2 05:37:44 EDT 2003
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.
Mattias
> >
> > Ie.: what is the size of a boolean in FPC and in WIN32?
>
> Boolean : 1
> LongBool : 4
> WordBool : 2
> Windows Bool : 4
>
> Michael.
>
> _________________________________________________________________
> To unsubscribe: mail lazarus-request at miraclec.com with
> "unsubscribe" as the Subject
> archives at http://www.lazarus.freepascal.org/mailarchives
--
More information about the Lazarus
mailing list