How and when are variables referenced in Delphi’s anonymous methods captured? – Stack Overflow

  

Just found some notes from 2013 for my research list that are still relevant:

[WayBack] How and when are variables referenced in Delphi’s anonymous methods captured? – Stack Overflow.
[WayBack] delphi – How to compare TFunc/TProc containing function/procedure of object? – Stack Overflow.
[WayBack] Delphi interfaces on binary level | The Programming Works.
[WayBack] Anonymous methods in Delphi: the internals | The Programming Works.
[WayBack] On the reference counting bugs in Delphi | The Programming Works: Delphi allows to access an object instance via object reference and interface reference at the same time. Consider this code: Nasty thing is that a reference-counted object is created with zero ref…

[WayBack] memory management – delphi 2009, interface already released – Stack Overflow

[WayBack] Smart Pointers | Australian Delphi User Group Members.
[WayBack] TURBU Tech » Blog Archive » Under the hood of an anonymous method.
TIndex: [WayBack] Anonymous methods.
[WayBack] delphi rtti “reference to procedure” – Google Search.
[No WayBack] Embarcadero Discussion Forums: RTTI for anonymous methods? ….
[WayBack] delphi – RTTI information for method pointer – Stack Overflow.
[WayBack] How To Get the Name of the Current Procedure/Function in Delphi (As a String) – Stack Overflow.
[WayBack] reflection – How to use SuperObject to invoke methods that uses an Object as parameter in Delphi? – Stack Overflow.
[WayBack] Delphi: Call a function whose name is stored in a string – Stack Overflow.
[WayBack] Fixing Delphi’s Interface Limitations – CodeProject: Delphi has some big gotchas with interfaces. Learn how to bypass them.
[WayBack] Reference Counting and Object Harvesting in Delphi | Dr Dobb’s – page 1
[WayBack] Reference Counting and Object Harvesting in Delphi | Dr Dobb’s – page 2

Note that if you are using Smart Pointers, use the ones that Spring4D implemented in 2015 named Shared/IShared<T>/TShared<T>, see [WayBack] Spring4D – Pascal Today and [WayBack2] Smart Pointers will be in Spring4D 1.2.
–jeroen

Comments are closed.