[M3devel] another size/alignment/interop problem..
Jay K
jay.krell at cornell.edu
Sun Sep 1 05:05:13 CEST 2013
TYPE FILETIME = RECORD
dwLowDateTime : uint32_t;
dwHighDateTime: uint32_t;
END;
BY_HANDLE_FILE_INFORMATION = RECORD
dwFileAttributes : uint32_t;
ftCreationTime : FILETIME; (* This should be at offset 4 but is 8 on 64bit systems. *)
(* the rest omitted *)
END;
Why doesn't that just work?
It works with:
TYPE FILETIME = BITS 64 FOR RECORD
but imho it should work without that.
- Jay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20130901/1c916139/attachment-0001.html>
More information about the M3devel
mailing list