Mark wrote: > Hello, > > I am trying to develop an XPCOM component that has read only > attributes of type nsIMutableArray. However, I am unable to create > code to instantiate objects of that type. I tried: > > do_CreateInstance(NS_ARRAY_CONTRACTID) > (error: incomplete type 'nsIMutableArray' used in nested name > specifier)
Did you #include "nsIArray.h" ? That sounds like a compiler error where you have forward-declared "class nsIMutableArray;" but never included the actual class declaration header. --BDS _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
