Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with TWebBrowser and Silverlight 1

Status
Not open for further replies.

EnduranceMan

Programmer
Mar 12, 2008
13
GB
Hey all

Really hoping someone can shed any sort of light on this, even a light glimmer would be nice :(.

I have a form with a TWebBrowser on it coded in Delphi7 as a Win32 app. If i try to browse to a silverlight application the application crashes without raising any exception. I have an exception handler around the .navigate() but it never fires, the window just closes, and recently has caused my machine to crash and restart with no warning.

The other peculiar thing about this is some Silverlight pages open fine, and others crash. And then if I browse to a page that worked 5mins later it sometimes crashes! :(

Any help on this would be greatly appreciated. If you could try recreate this behaviour that would be a relief to, i know im not going mad.

Regards
 
do you have some internet links that cause trouble?

that way we can test this to.

/Daddy

-----------------------------------------------------
What You See Is What You Get
Never underestimate tha powah of tha google!
 
just tested the link, don't have any problems.

show some code please :)

/Daddy

-----------------------------------------------------
What You See Is What You Get
Never underestimate tha powah of tha google!
 
Any feedback on this subject?

as I said, tested with TWebbrowser without problems, so the problem may lie in your code.

/Daddy

-----------------------------------------------------
What You See Is What You Get
Never underestimate tha powah of tha google!
 
Hi Daddy, sorry about delay, been at Uni all week.

Did you test just the link i sent you or did you browse a few of the sample web pages?

Try these links:


Thanks for the help so far

Regards
 
ok,
testing with the the first link, gives trouble (my browser window just dissapears). I will try to look deeper into it and see what I can find.

/Daddy

-----------------------------------------------------
What You See Is What You Get
Never underestimate tha powah of tha google!
 
ok, this is really a problem.
my app just hard crashes (no exception dialog box) with those links. I am going to recreate an app in ms visualstudio to see if I have the same problem. I suspect there's something wrong between the ms activex control and silverlight.

/Daddy

-----------------------------------------------------
What You See Is What You Get
Never underestimate tha powah of tha google!
 
it appears that D2009 suffers from the same problem:


My .NET test app does not crash.

so let's wait and see what embarcadero comes up with...

/Daddy



-----------------------------------------------------
What You See Is What You Get
Never underestimate tha powah of tha google!
 
Thanks for the help daddy, that solves that, well for me anyway. Looks like we'll have to put silverlight aside for a while.

Regards
Adrian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top