Daniel Fournier wrote:Well, I don't want to use in real code, it was only to be sure I understood the process.
John Bandhauer wrote:I'm not sure why you'd want to do that. If you want to do this check without having an exception thrown then use instanceof. Else, just use QueryInterface. The same amount of work is done either way.
Thanks for the details.
Daniel
