On Wed, Jul 28, 2004 at 06:37:55AM +0100, Nikhil Kadu wrote:
> NS_IMPL_ISUPPORTS(Sample, nsISupports); 

This should be NS_IMPL_ISUPPORTS1

Some compilers do not accept the semicolon at the end of this line

(This line is what causes AddRef, Release, QueryInterface to be implemented)

> I am getting the error "nsISupports cannot instantiate abstract class
> due to member funtions Queryinterface, Addref,Release"

That doesn't sound like it's the exact error you got.
Is it the only one?

-- 
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to