I have a problem using constructor parameters of introspection.
When the element types of an array of variants needs to be checked against the ParameterInfo, how would I do this.
ArgType = Introspection.GetType(Args(i))
gives me Nil because it’s a value type
Par.ParameterType.Name gives me “string”
VarType(Args(i)) // gives UInt32
Do I have to write a mapping myself between TypeString, TypeDouble, etc. and Name of TypeInfo?
Btw., help says for ConstructorInfo
Invoke(Optional params() As Auto) As Auto
But compiler wants params() as Variant
Any idea really appreciated!