There is a way to convert ‘array of const’ (open array) to TValue: Asbjørn Heid found one.
Posted by jpluimers on 2017/07/27
Brilliant solution by Asbjørn Heid:
So the solution I came up with is to use the observation that the “array of const” is “array of TVarRec”, and that “array of TVarRec” is passed as as two arguments: a pointer to the data and the length of the array (or rather, the highest index in the array).
Source: Is there a way to convert ‘array of const’ (open array) to TValue? For example,… [WayBack]
–jeroen
sglienke said
Unfortunately invoking methods containing open array via rtti is still not supported (see https://quality.embarcadero.com/browse/RSP-16317)