Einzelnen Beitrag anzeigen

schwa226

Registriert seit: 4. Apr 2008
400 Beiträge
 
#7

AW: Byte Array to UInt64

  Alt 12. Mär 2011, 08:59
Delphi-Quellcode:
function SwapUInt64(X: UInt64): UInt64;
asm
  mov EDX,dword ptr [X]
  mov EAX,dword ptr [X+4]
  bswap EDX
  bswap EAX
end;
Dies macht nun keine Probleme mehr
Delphi 2010, Update 4 & 5
  Mit Zitat antworten Zitat