Re: [fpc-pascal]no refcounted interfaces

2004-04-09 Thread Florian Klaempfl
Dean Zobec wrote: I've talked with some friends of mine about the use of Interface base classes without reference counting in Delphi like this type TNoRefCount = class(TObject, IUnknown) protected function QueryInterface(const IID:TGUID; out Obj):HResult; stdcall; function _AddRef: I

[fpc-pascal]no refcounted interfaces

2004-04-08 Thread Dean Zobec
I've talked with some friends of mine about the use of Interface base classes without reference counting in Delphi like this type TNoRefCount = class(TObject, IUnknown) protected function QueryInterface(const IID:TGUID; out Obj):HResult; stdcall; function _AddRef: Integer; stdcall;