NeTDeMoN wrote: > In the IE API, it wants a bstr. But it seems ActiveX embedding wants an > LPCSTR. Why? The function Navigate even uses VT_BSTR The control implements the interface exactly as it's defined. IWebBrowser::Navigate method specifies a BSTR and that's what the Mozilla control expects. The IWebBrowser2::Navigate2 specifies a VARIANT * (of type VT_BSTR) and the control expects that too. In both instances, Mozilla and IE should handle the parameters exactly the same. Look at my CBrowse sample and you'll see it passes in a BSTR without any casting: http://lxr.mozilla.org/seamonkey/source/embedding/browser/activex/tests/cbrowse/CBrowseDlg.cpp#457 > The onProgressChange function doesn't work correctly, for some reason > Progress==ProgressMax. > http://bugzilla.mozilla.org/show_bug.cgi?id=83779 Progress works reasonably as far as I can tell. Progress goes up from 0 and reaches progressMax. There has been occasion where I've seen it not reach 100% but I haven't seen progress being pegged at progressMax. > OnStatusTextChange is rarely called. You would think it should be called for > the download of every file. In CBrowse it gets called frequently for me during downloading and when you hover over a link. > OnTitleChange is never called. Why? Shouldn't it be called whenever the > title of the document changes? This looks like a bug. The Mozilla control doesn't fire this event at all. All of my testing was performed on a recent build from the 0.9.1 branch. Adam
