You are not logged in.
Pages: 1
I have a idmaper:Ikeyvalue<Ptrint,Ttreenode> to store Ttreenodes that are already managed for their memory in a Ttreeview.
How can I stop Ikeyvalue from freeing the Ttreenode for this specific idmaper:Ikeyvalue<Ptrint,Ttreenode> instance
trying to change idmaper.Data.Values.Info.info after creating idmaper does not work. And there is no option loNoFinalize as with Ilists
Thank you in advance
Offline
Do not change idmaper.Data.Values.Info because it is the shared stateless RTTI info, global to the whole process!
You can set
idmaper.Data.Values.NoFinalize := true;
or use the newly introduced kvoNoFinalize option:
https://github.com/synopse/mORMot2/commit/9055e07d4
Offline
Really thank you a lot!!!
But Values is read property that can not be assigned
Offline
@ab really thank you....
From a small request, you did a lot of work during the weekend
Offline
I was waiting for our guests arrival at our B&B.
https://cauterets.site
We had to stay home and kill time.
Offline
Pages: 1