[Lazarus] IUnknown and reference counting

Graeme Geldenhuys graeme at geldenhuys.co.uk
Thu Mar 21 15:09:58 CET 2013


On 2013-03-21 12:55, Kostas Michalopoulos wrote:
> properties. That could save a lot of headaches i have with my 3D world
> editor's lightmap generation (currently there is some wrong memory
> deallocation somewhere that crashes the editor in partial lightmap


Don't be fooled to think Interfaces is the answer to all memory issues.
The use of Interfaces is an "advanced topic". There are many pitfalls
you need to look out for when using them.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/





More information about the Lazarus mailing list