[fpc-devel] RTTI interface & variant late binding issue (mORMot)

Alfred alfred at consulab.nl
Mon Apr 13 13:57:07 CEST 2015


Thanks for your answer Steve !

But now I have the problem that I cannot parse the RTTI anymore.
I fail to get the logic:

This is written as paracount:
current_asmdata.asmlists[al_rtti].concat(Tai_const.Create_8bit(def.maxparacount 
+ 1));

This is used for the param-loop:
for k:=0 to def.paras.count-1 do

When parsing an interface function through RTTI, this gives me an extra 
$result in some cases, but not in all cases. Paracount and loop-count 
(may) differ.

Could you please explain how to handle this in my software ?

Thanks.




More information about the fpc-devel mailing list