2016-05-13 17:58 GMT+02:00 Seth Grover <sethdgro...@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? >
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. Look my old question and great answer from Barry Kelly: http://stackoverflow.com/questions/2305962/delphi-array-of-const-to-varargs It can be ported to other platforms/architectures but not so easy :) -- Best regards, Maciej Izak
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal