[Lazarus] How to cast a Interface to a Object in Lazaeus

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Thu Mar 12 12:34:27 CET 2015


On 2015-03-12 11:12, aradeonas wrote:
> Does Lazarus support TObject(IInterface) ? or I should make GetObject
> function like the above answer?

Just curious as to why you would need or want to do this?  After all,
how did you get the interface reference in the first place... Some
object had to be queried to get it.

Regards,
  - Graeme -

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




More information about the Lazarus mailing list