lfern wrote:
David Bradley wrote:

*** Registering "SECCLAB" components (all right -- a generic module!)
nsGenericModule "SECCLAB": Register hook for CLABExtras component component retu
rned error => 80004005

Ok, I misunderstood. Your control is getting the error when its registered. So it is being found. Ideally you should be using macros to build the registering code. From what I can tell if you're using the macros properly the only thing that could error is QI of nsGenericModule, which would be highly unlikely. Below is an example of such code. Did you create your own factory constructor?


NS_GENERIC_FACTORY_CONSTRUCTOR(cppImplementationClass)

static const nsModuleComponentInfo components[] = {
{ "a descriptive name for the component",
{ 0x12345678, 0x1234, 0x1234, { 0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56 } },
"your.prog.id",
cppImplementationClassConstructor }
};


NS_IMPL_NSGETMODULE(your_module, components)


Reply via email to