You need to implement nsIDirectoryServiceProvider class and pass it in when you call InitEmbedding(). MfcEmbed does this, so you can use it as an example.JOn Dec 1, 2005, at 12:44 PM, Aleksandar Vasilev wrote:How do I change tle location of pluginreg.dat and registry.dat, so that the embedding a
How do I change tle location of pluginreg.dat and registry.dat, so that
the embedding app uses its own private instances of these files?
___
mozilla-embedding mailing list
mozilla-embedding@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-embeddin
The process crashes on the last line
nsresult nres = mEndParent->GetChildNodes(getter_AddRefs(children));
I can see in my vstudio debugger that I am getting an object with this
structure:
nsIDOMDocument
nsISupports
__vptr
(**some expression which can't be evaluated)
(**some expr
Vijay wrote:
Here is the GetDOM function implementation as well...
NS_IMETHODIMP CBrowserImpl::GetDOM(nsIDOMDocument* doc)
{
nsCOMPtr window;
nsCOMPtr ndoc = (nsCOMPtr)doc;
Er... what? That doesn't look to me like it should do anything sane at all. In
particular, after this
Niky Williams wrote:
Niky Williams wrote:
Window 2000 using Visual Studio 2003 and C++
Let me see if I can explain this.
I've got a pretty basic skeleton embedded browser and it seems to work
okay browsing to various pages. I next tried to install the
Macromedia Flash plugin. When I click o
Niky Williams wrote:
Window 2000 using Visual Studio 2003 and C++
Let me see if I can explain this.
I've got a pretty basic skeleton embedded browser and it seems to work
okay browsing to various pages. I next tried to install the Macromedia
Flash plugin. When I click on the file to download
Vijay wrote:
Hi All,
In the original code of mfcembed, I have changed this method -
void CMfcEmbedApp::OnNewBrowser()
{
CBrowserFrame *pBrowserFrame = CreateNewBrowserFrame();
//Load the HomePage into the browser view
//if(pBrowserFrame && (GetStartupPageMode() == 1))
//pBr
Here is the GetDOM function implementation as well...
NS_IMETHODIMP CBrowserImpl::GetDOM(nsIDOMDocument* doc)
{
nsCOMPtr window;
nsCOMPtr ndoc = (nsCOMPtr)doc;
mWebBrowser->GetContentDOMWindow(getter_AddRefs(window));
if (window) {
window->GetDocumen
Hi All,
In the original code of mfcembed, I have changed this method -
void CMfcEmbedApp::OnNewBrowser()
{
CBrowserFrame *pBrowserFrame = CreateNewBrowserFrame();
//Load the HomePage into the browser view
//if(pBrowserFrame && (GetStartupPageMode() == 1))
//pBrowserFrame->m_w