I have written a component to export a "clone" of SignText old function to javascript. On linux platform I have no problem, but when I compile in Windows I get the folowing debug info while registering:
*** Registering "SECCLAB" components (all right -- a generic module!)
nsGenericModule "SECCLAB": Register hook for CLABExtras component
component returned error => 80004005
And here is the code: ...... static NS_METHOD RegisterCLABExtras(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *registryLocation, const char *componentType, const nsModuleComponentInfo *info) { nsresult rv = NS_OK; nsCOMPtr<nsICategoryManager> catman = do_GetService(NS_CATEGORYMANAGER_CONTRACTID, &rv);
if (NS_FAILED(rv))
return rv;....
When I call "do_GetService" it returns in rv NS_ERROR_FAILURE. I do not know what's happen because in linux it works!!!. Any help would be
greatly apreciated.
