I'm writing a new extension service and having trouble compiling the
impl file from the code generated by xpidl
My nsIMyclass.idl contains this:
interface nsIMyclass : nsISupports {...};
xpidl gens this boiler plate in nsIMyclass.h
NS_IMPL_ISUPPORTS1( nsMyclass , nsIMyclass )
which I move to nsMyclass.cpp and when I compile I get this:
error C2440: '=' : cannot convert from 'nsIMyClass *' to 'nsISupports *'
Looking at the xforms extension as an example I see they use the macro
NS_IMPL_ISUPPORTS_INHERITED6. Is the generated macro not supported anymore?
thanks
chris
_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom