On 2017-09-06 10:30, Ryan Joseph wrote:
FHook := THook.Create;

so you need a FHook.Free call? The class is THook = class(TInterfacedObject, 
IHook) right?

I couldn't call .Free because FHook was a interface reference type of type IHook, not THook.


Regards,
  Graeme

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

My public PGP key:  http://tinyurl.com/graeme-pgp
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to