[Lazarus] IUnknown and reference counting

Xiangrong Fang xrfang at gmail.com
Wed Mar 20 14:38:54 CET 2013


Hi,

I am reading this:

http://wiki.freepascal.org/How_To_Use_Interfaces

And wondering what's the *purpose* of "reference counting"?  While I use
interface before in delphi and java, I didn't notice that I need a UUID for
interface. I had an impression that it has something to do with COM?

So, what is the purpose of this UUID and the method provided by
TInterfacedObject?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130320/b0b451af/attachment-0002.html>


More information about the Lazarus mailing list