Hi Darin,

Thanks a lot. It worked for me.

Thanks
Raghavan

Darin Fisher wrote:

The solution is straightforward: get rid of all the class info stuff. You don't need it for what you are trying to do here.


Srinivasa Raghavan wrote:

Hi Darin ,

I have used NS_DECL_CLASSINFO(nsQEngineImpl) in the module definition.(i have attached the module defenition cpp)


below i've commented out the class info stuff that shouldn't be needed:

// For each class that wishes to support nsIClassInfo, add a line like this
//NS_DECL_CLASSINFO(nsQEngineImpl)
static nsModuleComponentInfo components[ ] =
{
{ "A Simple xpcom component", // a message to display when component is loaded
NS_QENGINE_CID, // our UUID NS_QENGINE_CONTRACTID, // our human readable PROGID or CLSID
nsQEngineImplConstructor,
nsQEngineRegistrationProc /* NULL if you dont need one */,
nsQEngineUnregistrationProc /* NULL if you dont need one */,
NULL /* no factory destructor */,
NULL, // NS_CI_INTERFACE_GETTER_NAME(nsQEngineImpl),
NULL /* no language helper */,
NULL) // &NS_CLASSINFO_NAME(nsQEngineImpl)
}
};
NS_IMPL_NSGETMODULE(nsQEngineModule, components)



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


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

Reply via email to