Am 07.08.2015 08:07 schrieb "Xiangrong Fang" <xrf...@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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to