Re: Problem with webbrowser control
- From: "Ulrich Strauss" <strauss_news@xxxxxxxxxxxxxxx>
- Date: Mon, 10 Dec 2007 23:07:25 +0100
Hi Paul,
Problems resolved erm workaround :)
Both Problems are related to using Application2 from SDF instead of Application from CF.
If I rewert to using CF Application class everything works soomthly.
Somehing seems to be odd about the SDF-Application2 Messagepump.
Thanks,
Ulrich
"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com> schrieb im Newsbeitrag news:Oam0ezOOIHA.5208@xxxxxxxxxxxxxxxxxxxxxxx
I wonder if some of the connections between the main window and various helpers are not being set up in the .NET CF case, but are, of course, in the actual browser. There are lots of SetClientSite(), etc. method calls that IESample makes. Maybe the browser control missed one...
The only way I can imagine to actually find the answer would be to get enough of the source code to actually see what code is causing the crash and do something about it. Maybe a simple application sample that generates the error when connecting to a Microsoft site would be possible. If so, a call to support for Windows CE Platform Builder would have a chance of finding the answer. If you find that you can build a really simple test case that fails, post here and I'll try to get it to someone inside MS that might be able to find the problem, too.
Paul T.
"Ulrich Strauss" <strauss_news@xxxxxxxxxxxxxxx> wrote in message news:DCC0DD85-DF61-4884-AB8B-BE023A7E4749@xxxxxxxxxxxxxxxxHi Paul,
thanks for the quick reply.
As of
a) I also suspect some problem with either IObjectSafety or IObjectWithSite
I am currently digging to try to find the root cause of the problem.
What confuses me a bit is, that the _same_ html page throws exceptions in control, but loads fine in iesample/iesimple. In iesimple it's just smooth, and there's nothing vital done additional to what the webbrowser control does.
I also replaced the webbrowser-control by a custom control, hosting a iesample-clone, but same result!
Maybe it's some weired security-problem with .NET CF?
b) I checked that already. It looks really weired to me. This happens when trying to playback DRM Protected contect via Mediaplayer ocx 22D6f312-B0F6-11D0-94AB-0080C74C7E95.
(Preface: Login to DRM-Server via SOAP Webservice)
If I call it via local html file in webbrowser control, drm server will refuse me (showing login dialog)
if I call it via _same_ html file using iesample, drm server will recognize me
if I call it via OpenNetCF Media-Control, DRM Server will recognize me.
if i open the stream via ceplayer-Process-creation, DRM Server will recognize me
For this case I'm currently trying to get hold of the drm-server logs to get a hint what is happening there.
Environment:
CE 6.0 Professional SKU
OpenNetCF SDF 2.1
Hardware is a ST7109 Design.
Regards,
Ulrich
"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com> schrieb im Newsbeitrag news:uJZqO0FOIHA.2208@xxxxxxxxxxxxxxxxxxxxxxxa) Well, you have to have a suitable Windows CE version of the object on your device, properly pre-installed, etc. It's not ever going to download ActiveX controls (they wouldn't work on Windows CE even if it did). If you're specifying the CLSID of a control that is already installed locally, I can't think of anything that would cause the problem, unless there's something that an instance of the browser control does outside of IESample that it doesn't do inside it (maybe IObjectSafety checks or something, I suppose).
b) I just whipped up a quick browser program using .NET CF 2.0 and it saves cookies just fine from the sites I'm visiting (our own and MapQuest). Have you actually checked for the cookies in \windows\profiles\<profilename>\Cookies?
You don't say what version of the OS or anything you're using...
Paul T.
.
- Follow-Ups:
- Re: Problem with webbrowser control
- From: Paul G. Tobey [eMVP]
- Re: Problem with webbrowser control
- References:
- CE6: Problem with webbrowser control
- From: Ulrich Strauss
- Re: Problem with webbrowser control
- From: Paul G. Tobey [eMVP]
- Re: Problem with webbrowser control
- From: Ulrich Strauss
- Re: Problem with webbrowser control
- From: Paul G. Tobey [eMVP]
- CE6: Problem with webbrowser control
- Prev by Date: Re: Xenocode and 0xc000007b
- Next by Date: CE6: SoapClient Threadpool problem
- Previous by thread: Re: Problem with webbrowser control
- Next by thread: Re: Problem with webbrowser control
- Index(es):
Relevant Pages
|