<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2016-05-13 17:58 GMT+02:00 Seth Grover <span dir="ltr"><<a href="mailto:sethdgrover@gmail.com" target="_blank">sethdgrover@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>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?</div></div></blockquote><br>Sven is wrong, of course you can, but it requires some work. Maybe not much multi-platform and in few cases limited but works fine for x86 on Windows. <br><div><br></div><div>Look my old question and great answer from Barry Kelly:<br></div><div><br><a href="http://stackoverflow.com/questions/2305962/delphi-array-of-const-to-varargs">http://stackoverflow.com/questions/2305962/delphi-array-of-const-to-varargs</a><br><br></div><div>It can be ported to other platforms/architectures but not so easy :)<br></div></div><br clear="all">-- <br><div><div dir="ltr"><div>Best regards,<br>Maciej Izak</div></div></div>
</div></div>