[fpc-pascal] interface "is" patch (finished and included)
Thomas Schatzl
tom_at_work at gmx.at
Fri Apr 1 14:40:02 CEST 2005
ml at brainwashers.org schrieb:
> Quoting Michael Van Canneyt <michael at freepascal.org>:
>>
>>On Thu, 31 Mar 2005, ml wrote:
>>I have downloaded and checked the patch, however I'm not a compiler person.
>>The RTL patch looks OK to me. have you checked what happens with an object
>>passed through COM ?
>
> COM? as I already said. COM objects have assigned GUID, And refcount gets
> incremented by 2 for those (and refcount is handled by fpc, and not COM), off
> course if it
> would be the case of COM object there's nothing easier than check against
> IDispatch, as I see IDispatch should be the root of COM objects with no
> object in fpc behind
No, the root of COM objects is IUnknown, IDispatch is optional for any
COM object afaik.
Regards,
Thomas
More information about the fpc-pascal
mailing list