It would be helpful if you could tell what exactly the problem is.
But from first glance, you need at least to add {$mode objfpc} or {$mode delphi}
so integer is 32-bit instead of 16 bit. Secondly, normally you should
add a
{$packrecords C}
Thank you very much Michael, you hint to add "{$packrecords C}" fixes
the problem.
Just curious. I tried:
SpaData = packed record
...
end;
instead of:
SpaData = record
...
end;
But it doesn't solve the problem.
jk
--
Jilani KHALDI
http://jkhaldi.oltrelinux.com
_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal