<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>Does FPC ensure the same memory alignment for records and objects over different platforms? If I want to be sure to have the same alignment must I use packed (with possibly some aligning assigned) records instead in combination with data types that are guaranteed to be of the same size over the different platforms (eg byte, word, single) ? Or do unpacked records behave the same over different platforms?</p>
<p> </p>
<p>When memory is alligned (either with <span class="cmsy-10">{</span><span class="cmtt-10">$PACKRECORDS N</span><span class="cmsy-10">} or unpacked, are the padding bytes quaranteed to be #0 or are they undefined?</span></p>
<p> </p>
<p>Any help appreciated.</p>
<p> </p>
<p>Regards, Darius</p>
<div> </div>
</body></html>