Hi Everyone,

I was wondering if there was a list somewhere of what files need to be in the same directory as the application at run time?

I am trying to get the following to work:

   NS_InitEmbedding(nsnull, nsnull);

   nsresult rv;
   mWebBrowser = do_CreateInstance(NS_WEBBROWSER_CONTRACTID, &rv);
   if (NS_FAILED(rv))
{ wxMessageDialog d(this, "Couldnt create a webbrowser instance");
       d.ShowModal();
       return false;
   }


But the call to do_CreateInstance() always seems to fail, and I tried to look on the web and found something which seemed to indicate that it was probably due to missing runtime files, since I'm passing in nsnull into NS_InitEmbedding.

If it helps, im using the lasted Mozilla from CVS (as at about 24 hours ago) and I'm running WinXP compiling with VS c++ 2005 express.


Thanks,

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

Reply via email to