I am having trouble using this sample on an AGX dev system with CE.Net4.2. The sample seems to create the control, but will not actually navigate to a page - the screen just remains white. I poked around a bit and the CLSID does exist, but I don't see webview.dll or shdocview.dll on the machine. Do I need to use a different CE build in order to use this sample?
It looks like it's finding the DLLs; otherwise it wouldn't create the control at all (the DLLs are probably hidden, but you can display them with dir and some command line parameters, if you're interested).
We can take a look at this to see what's going on, if it's important to your application.
Thank you very much. Yes it is important to my application that I be able to host the browser control. Normally, I would just drop the WebBrowser control on a CFormView but that did not work. That problem is what led me to your sample. Thanks again, Philip
HTMLView.exe uses the IBrowser control from CE 3.0.
Windows CE 4.x added a newer version of Internet Explorer as well as a standard implementation of the IWebBrowser2 that is interface-compatible with IE 6.0's desktop control, so while the HTMLViewer sample will no longer work, just about any desktop or CE example using IWebBrowser2 is applicable. The interface is defined in 'exdisp.h'.