 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
euthymos Guest
|
Posted: Sat Nov 18, 2006 4:12 pm Post subject: [IE7] Access violation for TWebBrowser: fixes didn't work at |
|
|
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?
Thank you in advance. |
|
| Back to top |
|
 |
euthymos Guest
|
Posted: Sat Nov 18, 2006 11:01 pm Post subject: Re: [IE7] Access violation for TWebBrowser: fixes didn't wor |
|
|
Debugging, I've found the line which raises the exception.
var
MyTextField, MySummaryField : string;
Document : IHTMLDocument2;
elem : IHTMLTextAreaElement;
Document := WebBrowser1.Document as IHTMLDocument2;
elem := Document.all.item('htmlbox', 0) as IHTMLTextAreaElement;
elem.value := MySummaryField; // <<< This line raises an
EAccessViolation exception with message 'Access violation at address
0066AA87 in module 'MySQLNewsManager.exe'. Read of address 00000000'.
euthymos ha scritto:
| Quote: | 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?
Thank you in advance. |
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|