Hi all.
I was asking about named arguments and to detect the corresponding name/value in
https://forum.lazarus.freepascal.org/index.php/topic,45300.msg320198.html#msg320 some days ago and thougt this is solved but ...
If I've something like
V := VarTest.Method(1, ArgX := 2, 3, ArgY := 4, 5)
which is totally legal
I got 5 arguments with 2 named arguments. So far so good.
In DispInvoke I'll find all values (reversed which is no problem) in the given Params and
the arg names (ArgX,ArgY) behind the "Method" in CallDesc^.ArgTypes.
But I do not see a way to correctly map the values to the named args. There should be any hint
which value belongs to a named arg and which one to a positional arg.
Am I blind and miss something?
Stephan