[fpc-pascal] alignment of records
Sven Barth
pascaldragon at googlemail.com
Fri Aug 7 13:23:48 CEST 2015
Am 07.08.2015 08:07 schrieb "Xiangrong Fang" <xrfang at gmail.com>:
>>
>> By using the correct types for the fields:
http://www.freepascal.org/docs-html/rtl/ctypes/index-3.html
>>
>> E.g., "unsigned long" is not (always) the same as "dword".
>>
>>
> OK, as a matter of fact, the stuff was copied from output of h2pas
conversion program. :-) I will use ctypes to test again.
If I remember correctly there's a parameter you to have h2pas use the
ctypes unit and its types as well.
Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20150807/1621b2a1/attachment.html>
More information about the fpc-pascal
mailing list