[Lazarus] lmessages.pp question

Hans-Peter Diettrich DrDiettrich1 at aol.com
Wed Sep 21 20:21:12 CEST 2011


Lubos Pintes schrieb:
> Hi,
> What this means?
>   TLMGetText = record
>     Msg: Cardinal;
> {$ifdef cpu64}
>     UnusedMsg: Cardinal;
> {$endif}
> ...
> What is that UnusedMsg?

A filler to align the following elements properly.

> How messages are handled on 64-bit cpu?

The same as on 32 bit CPUs. The record structures may vary, depending on 
the different alignment requirements, as can be seen above.

DoDi





More information about the Lazarus mailing list