I know there's similar posts out there, but I still can't seem to get 
embedding to work on windows:

nsresult rv;
nsCOMPtr<nsILocalFile> binDir;
NS_NewLocalFile(NS_LITERAL_STRING("C:\\Mozilla\\mozilla\\mozilla\\dist\\bin"), 
TRUE, getter_AddRefs(binDir));
rv = NS_InitEmbedding(binDir, nsnull);

rv is always equal to NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154). Does 
anyone have any ideas? The Firefox.exe in that directory seems to run fine 
but my embedding app doesn't

Thanks,
--Richard 


_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to