unhandled AV using webBrowser

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I use VS 2005 beta2. On existing project I added a new form with a
webBrowser on it. When the webbrowser is used then at shutdown time of my
application I have unhandled AV,: Attempted to read or write protected
memory. This is often an indication that other memory is corrupt.

The debugger does not stop on some code line. So it seems something only in
IDE. When I click 'ok' and then F5 the application terminate normally. Also
if I run the realease version outside de debugger no AV is trown.

When I try the webbrowser on a new project then all is working fine, so I
cannot emulate it on a simple way.

I'm just beginning in C# so I dont know where to start search at. The
project is based on WeifenLuo.WinFormsUI.Docking, but of course I dont know
if that has something to do with it.

Iif someone can advice on where to start debugging it will be very
appreciated.
 
Hi,

I just tryed again with a new application, and created a second form with a
webBrowser sitting on it. I activate it with this code:

private void testToolStripMenuItem_Click(object sender, EventArgs e)
{
Form2 F = new Form2();
F.ShowDialog();
}

So nothing special on it. When I do this, close it, then quit the
application then I have same error. So something in the WebBrowser wrong ?
 
Wilfried Mestdagh said:
Hi,

I use VS 2005 beta2. On existing project I added a new form with a
webBrowser on it. When the webbrowser is used then at shutdown time of my
application I have unhandled AV,: Attempted to read or write protected
memory. This is often an indication that other memory is corrupt.

The debugger does not stop on some code line. So it seems something only
in
IDE. When I click 'ok' and then F5 the application terminate normally.
Also
if I run the realease version outside de debugger no AV is trown.

When I try the webbrowser on a new project then all is working fine, so I
cannot emulate it on a simple way.

I'm just beginning in C# so I dont know where to start search at. The
project is based on WeifenLuo.WinFormsUI.Docking, but of course I dont
know
if that has something to do with it.

Iif someone can advice on where to start debugging it will be very
appreciated.

Please post your Beta2 questions to the forums http://forums.microsoft.com
these are specially set-up to help you with Whidbey Beta issues.

Willy.
 
Back
Top