Delphi sorcery – Today I had a really bad "d'oh!" moment... feel free to laugh at me because I did not know better. ;)You all may use the Supports routine - so did I without further thinking about it - until today. I shamefully have to admit that I should have looked at its code and/or the documentation earlier.What happened? In my bindings I check the source and target objects for special interfaces (f.i. INotifyPropertyChanged). I changed some code and strange things started happening in form of access violations. So I quickly found out that the Supports call caused a Destroy on the object when it did not ...
Visits by Source
Users who voted for this posting