Re:Silly SQL/DB question
In article <360A58F4.7A548...@dial.pipex.com>, Andrew Burns
Quote
<mak...@dial.pipex.com> writes:
>The problem I have is that I don't seem to be able to copy the
>information from memory to the file correctly - eg. the RIFF identifier
>(just 4 bytes - one for each letter) ends up with another byte infront
>of it.
Have you specified TMyHeaderType = packed record etc etc. The packed specifies
"no alignment on DWord boundaries" - hence no inserted extra bytes..
Note that in D2 the entry under Packed (in Delphi help) is incorrect, the entry
under Structured Types is correct in its description of packed.
File structures for wave files are fully specified at www.wotsit. (I'm not sure
after this .co.uk or .com. Search for wotsit.)
BTW I don't think alt.comp.borland-delphi exists any more - take it off your
list. Its particularly awkward for AOL users who are constrained to reply only
to the first NG in the list, unless they do laborious copy and paste.
Alan Lloyd
alangll...@aol.com