Hello everyone,

I have attached a program about which I have a question.

Why does iBase have different value than iBaseAsBase? It seems simply
assigning to interface variable doesn't change it to base interface, I
have to explicitly use "as IBaseInterface". Is it correct?

Basically, I'm trying to determine in CopyToInterface function if the
parameter points to the same object as Self.

--
cobines

Attachment: project1.lpr
Description: Binary data

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to