[fpc-pascal] Function to set high and low Dword of a QWord

Luiz Americo Pereira Camara pascalive at bol.com.br
Wed Feb 28 18:05:25 CET 2007


Hi,

  I'm looking to a function that will take two DWord as arguments and
and returns a Qword where the low 4 bytes are the first DWord and the
High 4 bytes the second DWord.

Something like MakeLong of win unit.

BTW

  TQWordRec = record
    D1: Dword;
    D2: DWord;
  end;

TQWordRec will have the same memory representation of  the result of
such function?

Thanks in advance.


Luiz




More information about the fpc-pascal mailing list