List All the Interfaces Implemented by an Object at Runtime
All you need is a simple class that asks your object for each known interface. Here’s the class QI: #include #include #include class QI : public std::stringstream, protected CRegKey{protected: virtual