Hi.

I'm developing a HTML WYSIWYG application using gecko engine.
I faced a problem which is about synchronous issue.
It seems that function, eg. nsIWebNavigation::LoadURI, 
nsIWebBrowserPersist::SaveDocument, dosen't wait the end of process their 
own, it means I also should wait the notification message, so I want to ask 
that there is a way to make those asynchronous function to synchronous 
function.

I want to try like this,

void Function()
{
    persist->SaveDocument(...);

    LaunchBrowser(...);     // But I don't make sure saving the HTML file is 
finished.
}


Thanks,

-- Scott.



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

Reply via email to