Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-09

lmessages.pp question

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Lubos Pintes

Hi,
What this means?
TLMGetText = record

     Msg: Cardinal;

{$ifdef cpu64}

     UnusedMsg: Cardinal;

{$endif}
...
What is that UnusedMsg? How messages are handled on 64-bit cpu? Thank

Reply by email

Hans-Peter Diettrich
to Lubos Pintes
Show quoted text 9 lines
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

Reply by email