I used to be able to create an IList of TArray<Variant> with the code:
TCollections.CreateList<TArray<Variant>>(Values)
That was with the build taken on 17 Apr 2023
However, the build I downloaded today raises an EVariantBadVarTypeError instead.
Unfortunately so much has changed in Spring.Collections.Lists that it hard to determine what the fix might be. The final call in Spring4D code is
DynArrayAssign(target, source, typeInfo);
in the tkDynArray case of MoveManaged in the Spring unit.
The error message is:
First chance exception at $00007FFED32FCF19. Exception class EVariantBadVarTypeError with message 'Invalid variant type'. Process SeleXpress3.exe (21312)
I hope this helps.