"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.
There is a new version of the ZIP file on agnes (lhsix110.zip).
Works fine.
BTW: some of your endian conversion functions declare a local variable called "Result". "Result" is predefined in all functions under Delphi and Virtual Pascal, and so the code breaks under those platforms. It is only a small matter, but you might want to address it now rather than later, if the code is supposed to be used by Delphi as well as BP people.
Well, GPC predefines `Result', and still lets you redefine it. :-)
Anyway, I've changed the identifiers now. Thanks for pointing it out.
Frank