Function to set high and low Dword of a QWord

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Function to set high and low Dword of a QWord

Luiz Americo Pereira Camara-2
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

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal