On Mon, 14 Jun 1999, Dr A A Olowofoyeku wrote:
Indeed, the problem was with WdBuf. I have now added the endian conversion stuff, and I have tested it on mingw32 and Solaris. The data files are now compatible. Thanks.
I know this thread is 2 months old, but I recently was confronted with this issue. This is just a thought, but I recommend that you write the file as big endian. Little-endian machines (such as Intel) can convert endianess much faster than RISC can (I wrote a routine which swaps 16-bit and 32-bit words with byte moves, haven't done an x-bit conversion yet but it would still be fast. The 32-bit conversion ran about 20 million per second on a PII 266 computer, and about 1 million on a 486 DX4/100 with no cache), especially handheld RISC computers which are usually based on ancient CPUs.
See ya! Orlando Llanes
"Meine Damen und Herren, Elvis hat soeben das Gebaeude verlassen!"
"Look out fo' flyeeng feet" O__/ a010111t@bc.seflin.org /|____. O <__. /> / \ ____________|_________ http://ourworld.compuserve.com/homepages/Monkey414