<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Comments for Variable alignment problems in record type.</title>
<link rel="alternate" type="text/plain" href="http://dn.codegear.com/article/23008" title="Variable alignment problems in record type." />
<link rel="self" type="application/atom+xml" href="http://dn.codegear.com/article/23008/feed" title="Comments for Variable alignment problems in record type." />
<id>http://dn.codegear.com/article/23008</id>
<updated>2008-11-19T05:22:20-08:00</updated>
<entry>
<title>Variable alignment problems in record type.</title>
<author>
<name>David Glover</name>
<uri>http://threads.codegear.com/threads/threads.exe/userall?commentid=29472</uri>
</author>
<id>http://threads.codegear.com/threads/threads.exe/view?commentid=29472</id>
<updated>2001-07-19T17:57:58-07:00</updated>
<published>2001-07-19T17:57:58-07:00</published>
<summary>Variable alignment problems in record type.</summary>
<content>Thanks for both pieces of advice. My problem involved both the alignment option and the bug at the same time. The problem I had involved 3 real48 fields defined on one line in the middle of a record, but the misalignment was only 4 bytes, completly disguising it as an alignment problem (where you would expect n bytes per field). Fixing the alignment option made all the difference.</content>
</entry>
<entry>
<title>Variable alignment problems in record type.</title>
<author>
<name>Greg Ostrom</name>
<uri>http://threads.codegear.com/threads/threads.exe/userall?commentid=27633</uri>
</author>
<id>http://threads.codegear.com/threads/threads.exe/view?commentid=27633</id>
<updated>2001-01-21T05:12:35-08:00</updated>
<published>2001-01-21T05:12:35-08:00</published>
<summary>Variable alignment problems in record type.</summary>
<content>This seems to be a major problem as I am unable to access previously written data files.  I am having problems with string types.  Specifically a string of type string[8] was padded with 3 extra bytes in Delphi IV and is now padded with 7 extra bytes.  Simply doing a packed record type with a string type change won't work either as my other variables were not packed.  I may have to write special utilities to rewrite all my files (500 G bytes).Frustrating to say the least.</content>
</entry>
</feed>
