TFPGMap failed to read data from register, internal dereference error lazarus / 21-General ---------------------------------------------------------------------- cpicanco · 2023-11-19 13:57 Hi everyone I have a working example here (parameters.zip), with no errors adding new KeyData items in the map/dictionary. But somehow, when descending from more complex classes it fails. Take a look at the screenshot. What might be causing this error? ---------------------------------------------------------------------- marcov · 2023-11-19 14:11 Afaik several bugs were fixed in fgl in the last few years. i.e. it might not be you, it might be fgl. ---------------------------------------------------------------------- cpicanco · 2023-11-19 14:19 I was assuming that the problem was being caused by inheritance complexity, but I really don't known. I will try to make some tests. ---------------------------------------------------------------------- cpicanco · 2023-11-19 14:50 Quote from: marcov on November 19, 2023, 03:11:02 pmAfaik several bugs were fixed in fgl in the last few years. i.e. it might not be you, it might be fgl. Thank you very much marcov. I tested with TDictionary from Generics.Collention and it worked like a charm. (I will do some more tests here though.).