home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 1,441 of 2,978   
   Stephen Posey to gvision@ntlworld.com   
   Re: Is there any reason NOT to word-alig   
   27 Feb 05 23:59:11   
   
   From: slposey@concentric.net   
      
   On Wed, 23 Feb 2005 22:30:01 GMT, "Jason Burgon"   
    wrote:   
      
   >"Stephen Posey"  wrote in message   
   >news:e6ap1154ioergo4907ssdtcigphf16rj3l@4ax.com...   
   >   
   >> You'll get yourself into a lot of trouble reading binary files into   
   >> data structures if the byte alignment of your structures doesn't match   
   >> the byte alignment that was used to create the file.   
   >>   
   >> Conversely writing binary data with word (or any other   
   >> non-single-byte) alignment will generally create files that are   
   >> unreadable by other programs that don't expect such padding.   
   >   
   >This has nothing to do with $A+ since TP/BP always aligns record fields at   
   >the byte level.   
   >   
   >Please gentlemen, this is the second post full of misinformation on this   
   >thread. We all get it wrong sometimes of course, but please don't post   
   >"help" if you don't know what you're talking about.   
      
    My 32-bit Delphi underwear is showing. Mea culpa.   
      
   Thanks for clarifying the issue gentlemen.   
      
   Stephen Posey   
   slposey@concentric.net   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca