[fpc-devel]Incorrect behaviour of interface queriing

Ivan Shikhalev fpc at hotbox.ru
Sat Jul 19 11:32:27 CEST 2003


When I try to query the interface, which is implemented by the ancestor of
the class of the current object, but not it immediate class, then the
QueryInterface returns nil. But it is not right because this interface is
implemented really.

And as solving this problem, I am offering a small correction in the
RTL-source file inc/objpas.inc. Diff file is attached.

     Ivan Shikhalev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: objpas.diff
Type: application/octet-stream
Size: 314 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20030719/96a70815/attachment.obj>

More information about the fpc-devel mailing list