While I haven't got a simple example, by this time I am sure the issue
is not in my code. (it's not online avail yet)
I have a class, with 2 corba interfaces
TIdeLocalsValue = class(TLocalsValue, TWatchAbleResultIntf,
TWatchAbleDataIntf)
...
end
If I get an interface using
(SomeVar as TWatchAbleDataIntf).Foo
it either crashes, or calls the wrong method.
If I swap the order of the interfaces in the declaration, then it works
(but the other interface will fail).
And yes, the object on which I work is of the correct class. And it is
alive (not a dangling pointer).
-----
I have tried to introduce a Base class, and move one Interface to that
base class, but no luck ....
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel