Jon Smirl:
> I think lack of getInterfaces() is a bigger problem than I orginally
> thought. For example you can't build an object inspector (like OLEView)
for
> XPCOM objects. OLEView works because the typelibs contain the interface
> list, with XPCOM there is no way to get this list unless the object
supports
> classInfo which 99% do not.

   While OLEView does look at the typeinfo, I'm fairly sure it also QIs for
all well known and registered interfaces. Try to intantiate a class such as
"Cabinet File" which has no Typelib entry and no TYPELIB resource inside its
implementation, cabview.dll. OLEView still lists 6 interfaces.

   Neil




Reply via email to