[fpc-pascal] IS operator and library created objects

Fabio Luis Girardi fluisgirardi at gmail.com
Thu Aug 20 03:42:22 CEST 2015


Currently, I'm doing a small program that uses libraries, objects and the
operator IS, that is know that this operator fails because of duplication
of VMT.

Everyone know some alternative (or more elegant) method to test if a object
created on a library is a class descendant without use object.ClassName? Or
in case of use String to check the class name, how retrieve the class name
of all descendant classes from a object?

The best regards,

Fabio Luis Girardi
PascalSCADA Project
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20150819/3538ee10/attachment.html>

More information about the fpc-pascal mailing list