[fpc-pascal] passing "array of const" into cdecl procvar

Sven Barth pascaldragon at googlemail.com
Fri May 13 21:13:22 CEST 2016


Am 13.05.2016 17:58 schrieb "Seth Grover" <sethdgrover at gmail.com>:
> How can I do this? Is there any way for me to pass an array of const
argument through directly to a cdecl'ed procvar call?

You can't, because an array of const/vararg of a cdecl function is
something completely different from a normal Pascal array of const.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160513/187515d2/attachment.html>


More information about the fpc-pascal mailing list