I don't think that this is the right way to approach the issue. If the dynamic cast is not functioning then this needs to be fixed in the class structure not by bypassing the cast.
I don't think that this is the right way to approach the issue. If the dynamic cast is not functioning then this needs to be fixed in the class structure not by bypassing the cast.