I have been using the npmozax.dll binary to test out an ATL/COM control that I am developing for my employer. I would like to support mozilla with this control. I have posted to the mozilla-plugins mailing list and am having trouble getting help. Here is my problem: I would like to access Netscape through the COleClientSite using an ATL control. Specifically, I want my ATL control to use the browser to POST or GET data to a url. The code to do this in IE using COM would be something like this: IOleContainer* pContainer; IServiceProvider* pService; IWebBrowser2* pBrowser; HRESULT hr; hr = m_spClientSite->GetContainer(&pContainer); hr = pContainer->QueryInterface(IID_IServiceProvider,(void**)&pService); hr = pService->QueryService(SID_SWebBrowserApp, IID_IWebBrowser2, (void**)&pBrowser); m_spClientSite->GetContainer() fails under mozilla. What would be the equivalent way to get a WebBrowser2 interface under mozilla from an ATL control? Is there any ATL <=>XPCOM interoperability? My questions are as follows: -Does the npmozax.dll plugin support or emulate the WebBrowser2 interface? Does it offer an IOleClientSite implementation at all? -What would I use to access it (SID_SmozBrowserApp or something?) -If it is not supported... Is it possible to add it? -What is the status of the npmozax.dll? Is development on it continuing or is it being replace by XPCOM? Thanks for your time. -Paul
