Title: RE: [msvc] Automation, IDispatch, Class Explosing The Interface

> I see. This seems a bit of a flaw (in the technologies) if switching
> on RTTI can break COM - or am I over-simplifying the situation?

I just tested it.  I created an ATL object, and a C++ console client
which called dynamic_cast to cast from IUnknown to Ifoo, and the result
was a crash (you guessed it.)

-------------
Ehsan Akhgari

List Owner: [EMAIL PROTECTED]

[ Email: [EMAIL PROTECTED] ]
[ WWW: http://www.beginthread.com/Ehsan ]

Wishing that I could turn back time, so we could join our souls.

Reply via email to