Re: Access violation for TWebBrowser: fixes didn't work at all



euthymos wrote:
Dear developers, I've made a small application that uses a TWebBrowser
component. Inside this TWebBrowser, there are many scripts and there's
a lot of interaction between IE and the program itself. With IE6 no
problems.

With IE7, I get this exception:
Access violation at address 00669BE1 in module 'MySQLNewsManager.exe'.
Read of address 00000000

I searched the Internet and found several pages describing this very
problem, but none of the fixes worked. Disabling FEATURE_OBJECT_CACHING
(like described in
http://msdn.microsoft.com/library/default.asp?url=/workshop/essentials/whatsnew/whatsnew_70_sec.asp)
is completely USELESS.

Can you help me?

You could try EmbeddedWB (I notice that this component seems to have moved to a different company since I last looked). I had problems like this if Javascript in the page tries to move the current browser window, or open a new one. The solution was to disable scripting, but this won't help out in your case :).

Cheers,
Nicholas Sherlock

--
http://www.sherlocksoftware.org
.



Relevant Pages

  • "Scripts are usually safe" popup driving me nuts!!
    ... Everytime I take any action in IE6, hit the back button, click go, change ... anything...this miserable window pops up with the message ... "Scripts are usually safe. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: White Screen of Death
    ... I am using IE7 cloaked as IE6. ... I also have a tweak to limit the number of loops that scripts will execute ... See positioniseverything.net for the latest version with the IE7 ... After a certain series of steps with several floating divs visible, ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: "Scripts are safe" prompt
    ... [Using IE6 and XP Pro]. ... I could reset the Internet Zone security level ... to 'enable' scripts to temporarily solve the problem. ...
    (microsoft.public.windowsxp.general)
  • Access violation for TWebBrowser: fixes didnt work at all
    ... Dear developers, I've made a small application that uses a TWebBrowser ... there are many scripts and there's ... is completely USELESS. ...
    (comp.lang.pascal.delphi.misc)