C
Chris
Hi,
With COM, I was able to create an object supporting
various interfaces, and by overloading QueryInterface
to decide at runtime if the interface beeing queried was
actually available (given the current state of the object)
or not.
Is there such a possibility with managed .net classes
derived from several interfaces ? Is there some way to
make a dynamic_cast fail ?
Chris.
With COM, I was able to create an object supporting
various interfaces, and by overloading QueryInterface
to decide at runtime if the interface beeing queried was
actually available (given the current state of the object)
or not.
Is there such a possibility with managed .net classes
derived from several interfaces ? Is there some way to
make a dynamic_cast fail ?
Chris.