The reason that this fails is that I compiled the ReportPro assemblies against the 2.8 runtime.
And this build contains one small change compared to the 2.7 runtime:
We got a request from a customer to add an overload to the array class that accepts 2 indices, instead of an
overload that accepts an array of indices.
The new property is
Code: Select all
VIRTUAL PUBLIC PROPERTY SELF[index AS INT, index2 AS INT] AS USUAL
Code: Select all
VIRTUAL PUBLIC PROPERTY SELF[indices PARAMS INT[]] AS USUAL
access an array element.
That is slightly less efficient than the new code with 2 simple INT parameters
The Dispatch method has a event that reads the file names for the Recent files from a 2 dimensional array.
And the .Net runtime fails because the code uses the new property which does not exist in your 2.7 runtime.
We always strive to make our product backward compatible. So old code will still run with newer runtime.
But the opposite is difficult / impossible as this shows.
We could solve this by recompiling ReportPro against 2.7, but I am not sure that I want to do that.
Version 2.7 is from Nov 2020. Do you really have to use this version ?
Robert