Hi All,
I am a new comer to mozilla embedding world. I wanted to embed the latest mozilla browser inside my application. So i took the latest mozilla's XulRunner source code from the following location and built with VS2008 ftp://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/1.9.0.7/source/ Then I played little with the test project WinEmbed and then started real stuff of embedding mozilla engine inside my application. Everything (XPCOMGlueStartup, XRE_InitEmbedding, window creation ...) goes fine till I try to load the URL inside browser. The following loadURI of nsIWebNavigation is fails and throws nsError saying NS_ERROR_OUT_OF_MEMORY // Start loading a page nsCOMPtr<nsIWebBrowser> newBrowser; chrome->GetWebBrowser(getter_AddRefs(newBrowser)); nsCOMPtr<nsIWebNavigation> webNav(do_QueryInterface (newBrowser)); wchar_t *url = L"www.google.com<http://www.google.com>"; return webNav->LoadURI(url, //NS_ConvertASCIItoUTF16(url).get (), nsIWebNavigation::LOAD_FLAGS_NONE, nsnull, nsnull, nsnull); Am I missing anything, could you please shed some light. I am sure lot many people have successfully embedded Mozilla. Thanks in advance. _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
