Am 13.10.2015 08:37 schrieb "David Emerson" <da...@angelbase.com>:
> So far I have not figured out how to typecast an interface into its
implementing class, which would be an alternate solution for my particular
situation.

As long as it's a COM-style interface you can use "intf as classtype". Be
aware though that you can get problems with reference counting as the class
instance won't be subject to the reference counting like the interface
instance is.

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to